Package org.jboss.soa.esb.lifecycle

Examples of org.jboss.soa.esb.lifecycle.LifecycleResourceManager


      String categoryName = config.getAttribute(ListenerTagNames.SERVICE_CATEGORY_NAME_TAG);
      String serviceName = config.getAttribute(ListenerTagNames.SERVICE_NAME_TAG);
      String targetCategoryName = config.getAttribute(ListenerTagNames.TARGET_SERVICE_CATEGORY_TAG);
      String targetServiceName = config.getAttribute(ListenerTagNames.TARGET_SERVICE_NAME_TAG);
      String listenerName = config.getAttribute(ListenerTagNames.NAME_TAG);
      final LifecycleResourceManager lifecycleResourceManager = LifecycleResourceManager.getSingleton() ;
      final String[] associatedDeployments = lifecycleResourceManager.getAssociatedDeployments() ;
      final String deployment ;
      if ((associatedDeployments != null) && (associatedDeployments.length == 1))
      {
        deployment = associatedDeployments[0] ;
      }
      else
      {
        deployment = lifecycleResourceManager.getIdentity() ;
      }

      StringBuffer objectName = new StringBuffer();
      append(objectName, "deployment", deployment) ;
      append(objectName, ListenerTagNames.SERVICE_CATEGORY_NAME_TAG, categoryName) ;
View Full Code Here


     * Create a name associated with this deployment.
     * @return The deployment name.
     */
    private String getDeploymentName()
    {
        final LifecycleResourceManager lifecycleResourceManager = LifecycleResourceManager.getSingleton() ;
        final String[] associatedDeployments = lifecycleResourceManager.getAssociatedDeployments() ;
        final String deployment ;
        if ((associatedDeployments != null) && (associatedDeployments.length == 1))
        {
            deployment = associatedDeployments[0] ;
        }
        else
        {
            deployment = lifecycleResourceManager.getIdentity() ;
        }
        return deployment ;
    }
View Full Code Here

    {
        final String categoryName = configTree.getAttribute(ListenerTagNames.SERVICE_CATEGORY_NAME_TAG);
        final String serviceName = configTree.getAttribute(ListenerTagNames.SERVICE_NAME_TAG);
        final String targetCategoryName = configTree.getAttribute(ListenerTagNames.TARGET_SERVICE_CATEGORY_TAG);
        final String targetServiceName = configTree.getAttribute(ListenerTagNames.TARGET_SERVICE_NAME_TAG);
        final LifecycleResourceManager lifecycleResourceManager = LifecycleResourceManager.getSingleton() ;
        final String[] associatedDeployments = lifecycleResourceManager.getAssociatedDeployments() ;
        final String deployment ;
        if ((associatedDeployments != null) && (associatedDeployments.length == 1))
        {
            deployment = associatedDeployments[0] ;
        }
        else
        {
            deployment = lifecycleResourceManager.getIdentity() ;
        }

        final StringBuffer objectName = new StringBuffer("category=MessageCounter");
        append(objectName, "deployment", deployment) ;
        append(objectName, ListenerTagNames.SERVICE_CATEGORY_NAME_TAG, categoryName) ;
View Full Code Here

TOP

Related Classes of org.jboss.soa.esb.lifecycle.LifecycleResourceManager

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.