- private static Object _createProxyImpl(final ServiceReference<?> ref,
- final DOMMountPointService service) {
-
- return new DOMMountPointServiceProxy(
- ((ServiceReference<DOMMountPointService>) ref), service);
- }
-
- private static Object _createProxyImpl(final ServiceReference<?> ref,
- final SchemaService service) {
-
- return new SchemaServiceProxy(((ServiceReference<SchemaService>) ref),
- service);
- }
-
- private static Object _createProxyImpl(final ServiceReference<?> ref,
- final RpcProvisionRegistry service) {
-
- return new RpcProvisionRegistryProxy(
- ((ServiceReference<RpcProvisionRegistry>) ref), service);
- }
-
- private static DOMDataBrokerProxy _createProxyImpl(
- final ServiceReference<?> ref, final DOMDataBroker service) {
-
- return new DOMDataBrokerProxy(((ServiceReference<DOMDataBroker>) ref),
- service);
- }
-
- private static Object _createProxyImpl(final ServiceReference<?> reference,
- final BrokerService service) {
-
- throw new IllegalArgumentException("Not supported class: "
- + service.getClass().getName());
- }
-
- private static Object createProxyImpl(final ServiceReference<?> ref,
- final BrokerService service) {