Package com.arjuna.common.internal.util.propertyservice

Examples of com.arjuna.common.internal.util.propertyservice.PropertyManagerImpl


        Document configDoc = YADOMUtil.parseStream(esbConfig, false, false);
        NodeList propertiesList = configDoc.getElementsByTagName("properties");
        for(int i = 0; i < propertiesList.getLength(); i++) {
            Element properties = (Element) propertiesList.item(i);
            String name = properties.getAttribute("name");
            PropertyManager propertyManager = new PropertyManagerImpl(name);
            NodeList propertyList = properties.getElementsByTagName("property");

            addProperties(propertyList, propertyManager);
            managers.put(name, propertyManager);
        }
View Full Code Here


    return getPropertyManager(name, null);
  }

  public static PropertyManager getPropertyManager(String name, String moduleName)
  {
    PropertyManagerImpl pm = (PropertyManagerImpl)_propertyManagers.get(name);

    if ( pm == null )
    {
      pm = new PropertyManagerImpl(name);
      _propertyManagers.put(name, pm);
    }

    return moduleName != null ? (PropertyManager)pm.getChild(moduleName) : pm;
  }
View Full Code Here

/* 49 */     return getPropertyManager(name, null);
/*    */   }
/*    */
/*    */   public static PropertyManager getPropertyManager(String name, String moduleName)
/*    */   {
/* 54 */     PropertyManagerImpl pm = (PropertyManagerImpl)_propertyManagers.get(name);
/*    */
/* 56 */     if (pm == null)
/*    */     {
/* 58 */       pm = new PropertyManagerImpl(name);
/* 59 */       _propertyManagers.put(name, pm);
/*    */     }
/*    */
/* 62 */     return moduleName != null ? pm.getChild(moduleName) : pm;
/*    */   }
View Full Code Here

TOP

Related Classes of com.arjuna.common.internal.util.propertyservice.PropertyManagerImpl

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.