本文整理汇总了Java中org.alfresco.repo.management.subsystems.AbstractPropertyBackedBean类的典型用法代码示例。如果您正苦于以下问题:Java AbstractPropertyBackedBean类的具体用法?Java AbstractPropertyBackedBean怎么用?Java AbstractPropertyBackedBean使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
AbstractPropertyBackedBean类属于org.alfresco.repo.management.subsystems包,在下文中一共展示了AbstractPropertyBackedBean类的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: SubsystemApplicationContextManagerState
import org.alfresco.repo.management.subsystems.AbstractPropertyBackedBean; //导入依赖的package包/类
protected SubsystemApplicationContextManagerState(final String defaultChain, final String defaultTypeName)
{
super(defaultChain, defaultTypeName);
// Work out what the default type name should be; either specified explicitly or implied by the first member
// of the default chain
if (SubsystemChildApplicationContextManager.this.defaultChain != null
&& SubsystemChildApplicationContextManager.this.defaultChain.length() > 0)
{
// Use the first type as the default, unless one is specified explicitly
if (defaultTypeName == null)
{
this.updateChain(defaultChain, AbstractPropertyBackedBean.DEFAULT_INSTANCE_NAME);
this.defaultTypeName = this.childApplicationContexts.get(this.instanceIds.get(0)).getTypeName();
}
else
{
this.defaultTypeName = defaultTypeName;
this.updateChain(defaultChain, defaultTypeName);
}
}
else if (defaultTypeName == null)
{
this.defaultTypeName = AbstractPropertyBackedBean.DEFAULT_INSTANCE_NAME;
}
else
{
this.defaultTypeName = defaultTypeName;
}
}