Package org.wso2.carbon.andes.internal
Class QpidServiceComponent
java.lang.Object
org.wso2.carbon.andes.internal.QpidServiceComponent
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidactivate(org.osgi.service.component.ComponentContext context) protected voiddeactivate(org.osgi.service.component.ComponentContext ctx) protected voidsetAccessKey(org.wso2.carbon.andes.authentication.service.AuthenticationService authenticationService) protected voidsetConfigurationContextService(org.wso2.carbon.utils.ConfigurationContextService configurationContextService) Access ConfigurationContextService, which is exposed as an OSGI service, to read cluster configuration.protected voidsetEventBundleNotificationService(org.wso2.carbon.andes.event.core.EventBundleNotificationService eventBundleNotificationService) protected voidsetIServerAdmin(org.wso2.carbon.server.admin.common.IServerAdmin iServerAdmin) Access IServerAdmin, which is exposed as an OSGi service, to call the graceful shutdown method in the carbon kernel.protected voidsetQpidNotificationService(org.wso2.andes.wso2.service.QpidNotificationService qpidNotificationService) protected voidsetServerConfiguration(org.wso2.carbon.base.api.ServerConfigurationService serverConfiguration) protected voidunsetAccessKey(org.wso2.carbon.andes.authentication.service.AuthenticationService authenticationService) protected voidunsetConfigurationContextService(org.wso2.carbon.utils.ConfigurationContextService configurationContextService) protected voidunsetEventBundleNotificationService(org.wso2.carbon.andes.event.core.EventBundleNotificationService eventBundleNotificationService) protected voidunsetIServerAdmin(org.wso2.carbon.server.admin.common.IServerAdmin iServerAdmin) Unset IServerAdmin OSGi serviceprotected voidunsetQpidNotificationService(org.wso2.andes.wso2.service.QpidNotificationService qpidNotificationService) protected voidunsetServerConfiguration(org.wso2.carbon.base.api.ServerConfigurationService serverConfiguration)
-
Field Details
-
MODE_STANDALONE
- See Also:
-
MODE_DEFAULT
- See Also:
-
-
Constructor Details
-
QpidServiceComponent
public QpidServiceComponent()
-
-
Method Details
-
activate
protected void activate(org.osgi.service.component.ComponentContext context) throws org.wso2.andes.kernel.AndesException - Throws:
org.wso2.andes.kernel.AndesException
-
deactivate
protected void deactivate(org.osgi.service.component.ComponentContext ctx) -
setAccessKey
protected void setAccessKey(org.wso2.carbon.andes.authentication.service.AuthenticationService authenticationService) -
unsetAccessKey
protected void unsetAccessKey(org.wso2.carbon.andes.authentication.service.AuthenticationService authenticationService) -
setQpidNotificationService
protected void setQpidNotificationService(org.wso2.andes.wso2.service.QpidNotificationService qpidNotificationService) -
unsetQpidNotificationService
protected void unsetQpidNotificationService(org.wso2.andes.wso2.service.QpidNotificationService qpidNotificationService) -
setServerConfiguration
protected void setServerConfiguration(org.wso2.carbon.base.api.ServerConfigurationService serverConfiguration) -
unsetServerConfiguration
protected void unsetServerConfiguration(org.wso2.carbon.base.api.ServerConfigurationService serverConfiguration) -
setEventBundleNotificationService
protected void setEventBundleNotificationService(org.wso2.carbon.andes.event.core.EventBundleNotificationService eventBundleNotificationService) -
unsetEventBundleNotificationService
protected void unsetEventBundleNotificationService(org.wso2.carbon.andes.event.core.EventBundleNotificationService eventBundleNotificationService) -
setConfigurationContextService
protected void setConfigurationContextService(org.wso2.carbon.utils.ConfigurationContextService configurationContextService) Access ConfigurationContextService, which is exposed as an OSGI service, to read cluster configuration.- Parameters:
configurationContextService- ConfigurationContextService from the OSGI service
-
unsetConfigurationContextService
protected void unsetConfigurationContextService(org.wso2.carbon.utils.ConfigurationContextService configurationContextService) -
setIServerAdmin
protected void setIServerAdmin(org.wso2.carbon.server.admin.common.IServerAdmin iServerAdmin) Access IServerAdmin, which is exposed as an OSGi service, to call the graceful shutdown method in the carbon kernel. -
unsetIServerAdmin
protected void unsetIServerAdmin(org.wso2.carbon.server.admin.common.IServerAdmin iServerAdmin) Unset IServerAdmin OSGi service
-