BeanName(Configuration conf) { StringBuffer buf = new StringBuffer(); Configuration c = conf; while (null != c) { if (buf.length() > 0) { buf.insert(0, TIGHT_BINDING); } buf.insert(0, c.getId().toString()); c = c.getParent(); } name = buf.toString(); normalisedName = name; }
public String getEndpointId() { return handler.getConfiguration().getParent().getId().toString(); }
public Object getObject(String name) { ConfigurationItemMetadata definition = model.getDefinition(name); if (null == definition) { throw new ConfigurationException(new Message("ITEM_NOT_DEFINED_EXC", BUNDLE, name)); } Configuration holder = this; while (null != holder) { Object obj = getLocal(holder, name); if (null != obj) { return obj; } holder = holder.getParent(); } return definition.getDefaultValue(); }