public class CompositeDataBean extends AbstractPropertyBackedBean
ChildApplicationContextFactory making it configurable, either through alfresco-global.properties or a JMX
console.ChildApplicationContextFactory| Modifier and Type | Class and Description |
|---|---|
protected class |
CompositeDataBean.CompositeDataBeanState
The Class CompositeDataBeanState.
|
AbstractPropertyBackedBean.DefaultResolverDEFAULT_INSTANCE_NAME, lock| Constructor and Description |
|---|
CompositeDataBean(org.springframework.context.ApplicationContext parent,
PropertyBackedBean owner,
PropertyBackedBeanRegistry registry,
java.util.Properties propertyDefaults,
java.lang.String category,
java.lang.Class type,
java.util.List instancePath)
Constructor for dynamically created instances, e.g.
|
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
protected PropertyBackedBeanState |
createInitialState()
Creates the initial state.
|
protected java.lang.Object |
getBean()
Gets the wrapped Java bean.
|
boolean |
isUpdateable(java.lang.String name)
Checks if a property is updateable.
|
protected java.lang.String |
resolveDefault(java.lang.String name)
Resolves the default value of a property, if there is one, expanding placholders as necessary.
|
protected void |
stop(boolean broadcast)
Stops the bean, optionally broadcasting the event to remote nodes.
|
applyDefaultOverrides, destroy, destroy, doInit, getCategory, getDescription, getId, getInstancePath, getParent, getProperty, getPropertyDefaults, getPropertyNames, getRegistry, getState, init, onApplicationEvent, revert, setApplicationContext, setAutoStart, setBeanName, setCategory, setInstancePath, setProperties, setProperty, setPropertyDefaults, setRegistry, start, start, stoppublic CompositeDataBean(org.springframework.context.ApplicationContext parent,
PropertyBackedBean owner,
PropertyBackedBeanRegistry registry,
java.util.Properties propertyDefaults,
java.lang.String category,
java.lang.Class type,
java.util.List instancePath)
throws java.io.IOException
ChildApplicationContextFactory.parent - the parent application contextregistry - the registry of property backed beanspropertyDefaults - property defaults provided by the installer or System propertiescategory - the categoryinstancePath - the instance path within the categoryowner - the owning beantype - the class of Java bean to be wrappedjava.io.IOException - Signals that an I/O exception has occurred.public void afterPropertiesSet()
throws java.lang.Exception
AbstractPropertyBackedBeanafterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanafterPropertiesSet in class AbstractPropertyBackedBeanjava.lang.Exceptionprotected java.lang.String resolveDefault(java.lang.String name)
AbstractPropertyBackedBeanresolveDefault in class AbstractPropertyBackedBeanname - the property namenull if there isn't oneprotected PropertyBackedBeanState createInitialState() throws java.io.IOException
AbstractPropertyBackedBeancreateInitialState in class AbstractPropertyBackedBeanjava.io.IOException - Signals that an I/O exception has occurred.public boolean isUpdateable(java.lang.String name)
AbstractPropertyBackedBeanisUpdateable in interface PropertyBackedBeanisUpdateable in class AbstractPropertyBackedBeanname - the property nametrue if the property is updateableprotected java.lang.Object getBean()
protected void stop(boolean broadcast)
AbstractPropertyBackedBeanstop in class AbstractPropertyBackedBeanbroadcast - Should the event be broadcast?Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.