Class ServiceBusInitializer
- java.lang.Object
-
- org.wso2.carbon.mediation.initializer.ServiceBusInitializer
-
public class ServiceBusInitializer extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classServiceBusInitializer.MPMShutdownHandler
-
Constructor Summary
Constructors Constructor Description ServiceBusInitializer()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidactivate(org.osgi.service.component.ComponentContext ctxt)voidcreateSynapseDebugEnvironment(org.apache.synapse.ServerContextInformation contextInfo)creates Synapse debug environment creates TCP channels using command and event ports which initializes the interface to outer debugger set the relevant information in the server configuration so that it can be used when Synapse environment initializesprotected voiddeactivate(org.osgi.service.component.ComponentContext ctxt)static org.apache.synapse.ServerConfigurationInformationgetConfigurationInformation()protected static org.apache.synapse.ServerConfigurationInformationgetServerConfigurationInformation()static booleanisRunningDebugMode()static booleanisRunningSamplesMode()protected voidsetConfigurationContextService(org.wso2.carbon.utils.ConfigurationContextService configurationContextService)protected voidsetInboundPersistenceService(org.wso2.carbon.inbound.endpoint.persistence.service.InboundEndpointPersistenceService inboundEndpoint)protected voidsetSecretCallbackHandlerService(org.wso2.carbon.securevault.SecretCallbackHandlerService secretCallbackHandlerService)protected voidsetTaskDescriptionRepositoryService(org.wso2.carbon.task.services.TaskDescriptionRepositoryService repositoryService)protected voidsetTaskSchedulerService(org.wso2.carbon.task.services.TaskSchedulerService schedulerService)protected voidsetTaskService(org.wso2.carbon.mediation.ntask.internal.NtaskService taskService)protected voidsetTaskService(org.wso2.carbon.ntask.core.service.TaskService taskService)protected voidunsetConfigurationContextService(org.wso2.carbon.utils.ConfigurationContextService configurationContextService)protected voidunsetInboundPersistenceService(org.wso2.carbon.inbound.endpoint.persistence.service.InboundEndpointPersistenceService inboundEndpoint)protected voidunsetSecretCallbackHandlerService(org.wso2.carbon.securevault.SecretCallbackHandlerService secretCallbackHandlerService)protected voidunsetTaskDescriptionRepositoryService(org.wso2.carbon.task.services.TaskDescriptionRepositoryService repositoryService)protected voidunsetTaskSchedulerService(org.wso2.carbon.task.services.TaskSchedulerService schedulerService)protected voidunsetTaskService(org.wso2.carbon.mediation.ntask.internal.NtaskService ntaskService)protected voidunsetTaskService(org.wso2.carbon.ntask.core.service.TaskService taskService)
-
-
-
Method Detail
-
activate
protected void activate(org.osgi.service.component.ComponentContext ctxt)
-
deactivate
protected void deactivate(org.osgi.service.component.ComponentContext ctxt)
-
isRunningSamplesMode
public static boolean isRunningSamplesMode()
-
isRunningDebugMode
public static boolean isRunningDebugMode()
-
createSynapseDebugEnvironment
public void createSynapseDebugEnvironment(org.apache.synapse.ServerContextInformation contextInfo)
creates Synapse debug environment creates TCP channels using command and event ports which initializes the interface to outer debugger set the relevant information in the server configuration so that it can be used when Synapse environment initializes- Parameters:
contextInfo- Server Context Information
-
setConfigurationContextService
protected void setConfigurationContextService(org.wso2.carbon.utils.ConfigurationContextService configurationContextService)
-
unsetConfigurationContextService
protected void unsetConfigurationContextService(org.wso2.carbon.utils.ConfigurationContextService configurationContextService)
-
setTaskDescriptionRepositoryService
protected void setTaskDescriptionRepositoryService(org.wso2.carbon.task.services.TaskDescriptionRepositoryService repositoryService)
-
unsetTaskDescriptionRepositoryService
protected void unsetTaskDescriptionRepositoryService(org.wso2.carbon.task.services.TaskDescriptionRepositoryService repositoryService)
-
setTaskSchedulerService
protected void setTaskSchedulerService(org.wso2.carbon.task.services.TaskSchedulerService schedulerService)
-
unsetTaskSchedulerService
protected void unsetTaskSchedulerService(org.wso2.carbon.task.services.TaskSchedulerService schedulerService)
-
setSecretCallbackHandlerService
protected void setSecretCallbackHandlerService(org.wso2.carbon.securevault.SecretCallbackHandlerService secretCallbackHandlerService)
-
unsetSecretCallbackHandlerService
protected void unsetSecretCallbackHandlerService(org.wso2.carbon.securevault.SecretCallbackHandlerService secretCallbackHandlerService)
-
setTaskService
protected void setTaskService(org.wso2.carbon.mediation.ntask.internal.NtaskService taskService)
-
unsetTaskService
protected void unsetTaskService(org.wso2.carbon.mediation.ntask.internal.NtaskService ntaskService)
-
getConfigurationInformation
public static org.apache.synapse.ServerConfigurationInformation getConfigurationInformation()
-
getServerConfigurationInformation
protected static org.apache.synapse.ServerConfigurationInformation getServerConfigurationInformation()
-
setInboundPersistenceService
protected void setInboundPersistenceService(org.wso2.carbon.inbound.endpoint.persistence.service.InboundEndpointPersistenceService inboundEndpoint)
-
unsetInboundPersistenceService
protected void unsetInboundPersistenceService(org.wso2.carbon.inbound.endpoint.persistence.service.InboundEndpointPersistenceService inboundEndpoint)
-
setTaskService
protected void setTaskService(org.wso2.carbon.ntask.core.service.TaskService taskService)
-
unsetTaskService
protected void unsetTaskService(org.wso2.carbon.ntask.core.service.TaskService taskService)
-
-