Class LuceneChildApplicationContextFactory
java.lang.Object
org.alfresco.repo.management.subsystems.AbstractPropertyBackedBean
org.alfresco.repo.management.subsystems.ChildApplicationContextFactory
org.alfresco.repo.management.subsystems.LuceneChildApplicationContextFactory
- All Implemented Interfaces:
EventListener,ApplicationContextFactory,PropertyBackedBean,PropertyBackedBeanState,PropertyBackedBeanWithMonitor,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>
- Author:
- Andy
-
Nested Class Summary
Nested classes/interfaces inherited from class org.alfresco.repo.management.subsystems.ChildApplicationContextFactory
ChildApplicationContextFactory.ApplicationContextStateNested classes/interfaces inherited from class org.alfresco.repo.management.subsystems.AbstractPropertyBackedBean
AbstractPropertyBackedBean.DefaultResolver, AbstractPropertyBackedBean.RuntimeState -
Field Summary
Fields inherited from class org.alfresco.repo.management.subsystems.AbstractPropertyBackedBean
DEFAULT_INSTANCE_NAME, lock, runtimeState -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected PropertyBackedBeanStateCreates the initial state.protected voiddestroy(boolean isPermanent) Releases any resources held by this component.Methods inherited from class org.alfresco.repo.management.subsystems.ChildApplicationContextFactory
afterPropertiesSet, applyDefaultOverrides, getApplicationContext, getDescription, getMonitorObject, getPersister, getReadOnlyApplicationContext, getTypeName, isUpdateable, setCompositePropertyTypes, setPersister, setTypeNameMethods inherited from class org.alfresco.repo.management.subsystems.AbstractPropertyBackedBean
destroy, doInit, getCategory, getEncryptedPropertyDefaults, getId, getInstancePath, getParent, getProperty, getPropertyDefaults, getPropertyNames, getRegistry, getState, init, onApplicationEvent, performEarlyPropertyChecks, removeProperties, removeProperty, resolveDefault, revert, setApplicationContext, setAutoStart, setBeanName, setCategory, setEarlyPropertyCheckers, setEncryptedPropertyDefaults, setInstancePath, setProperties, setProperty, setPropertyDefaults, setRegistry, setSaveSetProperty, start, start, stop, stopMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.alfresco.repo.management.subsystems.PropertyBackedBean
getId, removeProperties, revert, setPropertiesMethods inherited from interface org.alfresco.repo.management.subsystems.PropertyBackedBeanState
getProperty, getPropertyNames, removeProperty, setProperty, start, stop
-
Constructor Details
-
LuceneChildApplicationContextFactory
public LuceneChildApplicationContextFactory()
-
-
Method Details
-
createInitialState
Description copied from class:AbstractPropertyBackedBeanCreates the initial state.- Overrides:
createInitialStatein classChildApplicationContextFactory- Returns:
- the property backed bean state
- Throws:
IOException- Signals that an I/O exception has occurred.
-
destroy
protected void destroy(boolean isPermanent) Description copied from class:AbstractPropertyBackedBeanReleases any resources held by this component.- Overrides:
destroyin classChildApplicationContextFactory- Parameters:
isPermanent- is the component being destroyed forever, i.e. should persisted values be removed? On server shutdown, this value would befalse, whereas on the removal of a dynamically created instance, this value would betrue.
-