Class CompositeDataBean

  • All Implemented Interfaces:
    java.util.EventListener, PropertyBackedBean, PropertyBackedBeanState, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware, org.springframework.context.ApplicationListener<org.springframework.context.ApplicationEvent>

    public class CompositeDataBean
    extends AbstractPropertyBackedBean
    A class that wraps an instance of a Java Bean class declared as a composite property type on ChildApplicationContextFactory making it configurable, either through alfresco-global.properties or a JMX console.
    Author:
    dward
    See Also:
    ChildApplicationContextFactory
    • Constructor Detail

      • CompositeDataBean

        public 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<java.lang.String> instancePath)
                          throws java.io.IOException
        Constructor for dynamically created instances, e.g. through ChildApplicationContextFactory.
        Parameters:
        parent - the parent application context
        registry - the registry of property backed beans
        propertyDefaults - property defaults provided by the installer or System properties
        category - the category
        instancePath - the instance path within the category
        owner - the owning bean
        type - the class of Java bean to be wrapped
        Throws:
        java.io.IOException - Signals that an I/O exception has occurred.