Class QpidServiceDataHolder

java.lang.Object
org.wso2.carbon.andes.internal.QpidServiceDataHolder

public class QpidServiceDataHolder extends Object
This is a singleton class that holds data that is shared within this component.
  • Method Details

    • getService

      public org.wso2.carbon.server.admin.common.IServerAdmin getService()
      Get IServerAdmin that was stored when the bundle started up
      Returns:
    • setService

      public void setService(org.wso2.carbon.server.admin.common.IServerAdmin service)
      Store IServerAdmin; that was received when the bundle started up
      Parameters:
      service -
    • getInstance

      public static QpidServiceDataHolder getInstance()
    • setAccessKey

      public void setAccessKey(String accessKey)
      Store access key received from the authentication service when the bundle activates
      Parameters:
      accessKey -
    • getAccessKey

      public String getAccessKey()
      Get stored access key that was received when the bundle started up
      Returns:
    • setCarbonConfiguration

      public void setCarbonConfiguration(org.wso2.carbon.base.api.ServerConfigurationService carbonConfiguration)
      Set Carbon ServerConfiguration instance
      Parameters:
      carbonConfiguration -
    • getCarbonConfiguration

      public org.wso2.carbon.base.api.ServerConfigurationService getCarbonConfiguration()
      Get Carbon ServerConfiguration instance
      Returns:
    • registerEventBundleNotificationService

      public void registerEventBundleNotificationService(org.wso2.carbon.andes.event.core.EventBundleNotificationService eventBundleNotificationService)
    • getEventBundleNotificationService

      public org.wso2.carbon.andes.event.core.EventBundleNotificationService getEventBundleNotificationService()
    • getBrokerLifecycleListeners

      public List<BrokerLifecycleListener> getBrokerLifecycleListeners()
      Get list of external andes server shutdown listeners
      Returns:
      List of broker shutdown listeners
    • setBrokerLifecycleListeners

      public void setBrokerLifecycleListeners(List<BrokerLifecycleListener> brokerLifecycleListeners)
      Set the list of external andes server shutdown listeners
      Parameters:
      brokerLifecycleListeners -