public static void installManagementChannelServices ( final ServiceTarget serviceTarget , final ServiceName endpointName , final AbstractModelControllerOperationHandlerFactoryService operationHandlerService , final ServiceName modelControllerName , final String channelName , final ServiceName executorServiceName , final ServiceName scheduledExecutorServiceName ) { final OptionMap options = OptionMap . EMPTY ; final ServiceName operationHandlerName = endpointName . append ( channelName ) . append ( ModelControllerClientOperationHandlerFactoryService . OPERATION_HANDLER_NAME_SUFFIX ) ; serviceTarget . addService ( operationHandlerName , operationHandlerService ) . addDependency ( modelControllerName , ModelController . class , operationHandlerService . getModelControllerInjector ( ) ) . addDependency ( executorServiceName , ExecutorService . class , operationHandlerService . getExecutorInjector ( ) ) . addDependency ( scheduledExecutorServiceName , ScheduledExecutorService . class , operationHandlerService . getScheduledExecutorInjector ( ) ) . setInitialMode ( ACTIVE ) . install ( ) ; installManagementChannelOpenListenerService ( serviceTarget , endpointName , channelName , operationHandlerName , options , false ) ; }
Set up the services to create a channel listener and operation handler service .