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.DefaultResolver, AbstractPropertyBackedBean.RuntimeStateDEFAULT_INSTANCE_NAME, lock, runtimeState| Constructor and Description |
|---|
CompositeDataBean(org.springframework.context.ApplicationContext parent,
PropertyBackedBean owner,
PropertyBackedBeanRegistry registry,
Properties propertyDefaults,
String category,
Class<?> type,
List<String> instancePath)
Constructor for dynamically created instances, e.g.
|
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
protected PropertyBackedBeanState |
createInitialState()
Creates the initial state.
|
protected Object |
getBean()
Gets the wrapped Java bean.
|
boolean |
isUpdateable(String name)
Checks if a property is updateable.
|
protected String |
resolveDefault(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, getEncryptedPropertyDefaults, getId, getInstancePath, getParent, getProperty, getPropertyDefaults, getPropertyNames, getRegistry, getState, init, onApplicationEvent, performEarlyPropertyChecks, removeProperties, removeProperty, revert, setApplicationContext, setAutoStart, setBeanName, setCategory, setEarlyPropertyCheckers, setEncryptedPropertyDefaults, setInstancePath, setProperties, setProperty, setPropertyDefaults, setRegistry, setSaveSetProperty, start, start, stoppublic CompositeDataBean(org.springframework.context.ApplicationContext parent,
PropertyBackedBean owner,
PropertyBackedBeanRegistry registry,
Properties propertyDefaults,
String category,
Class<?> type,
List<String> instancePath)
throws 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 wrappedIOException - Signals that an I/O exception has occurred.public void afterPropertiesSet()
throws Exception
AbstractPropertyBackedBeanafterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanafterPropertiesSet in class AbstractPropertyBackedBeanExceptionprotected String resolveDefault(String name)
AbstractPropertyBackedBeanresolveDefault in class AbstractPropertyBackedBeanname - the property namenull if there isn't oneprotected PropertyBackedBeanState createInitialState() throws IOException
AbstractPropertyBackedBeancreateInitialState in class AbstractPropertyBackedBeanIOException - Signals that an I/O exception has occurred.public boolean isUpdateable(String name)
AbstractPropertyBackedBeanisUpdateable in interface PropertyBackedBeanisUpdateable in class AbstractPropertyBackedBeanname - the property nametrue if the property is updateableprotected Object getBean()
protected void stop(boolean broadcast)
AbstractPropertyBackedBeanstop in class AbstractPropertyBackedBeanbroadcast - Should the event be broadcast?Copyright © 2005–2018 Alfresco Software. All rights reserved.