String propertyName = getValidatedAttribute(
"property",
PROPERTY_NAME_PATTERN,
"invalid-property-name");
IBeanSpecification bs = _factory.createBeanSpecification();
bs.setClassName(className);
bs.setLifecycle(lifecycle);
bs.setPropertyName(propertyName);
if (commax > 0)
{
String initializer = classAttribute.substring(commax + 1);
bs.addInitializer(new LightweightBeanInitializer(initializer));
}
IComponentSpecification cs = (IComponentSpecification) peekObject();
cs.addBeanSpecification(name, bs);