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:
java.util.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>
public class LuceneChildApplicationContextFactory extends ChildApplicationContextFactory
- Author:
- Andy
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.alfresco.repo.management.subsystems.ChildApplicationContextFactory
ChildApplicationContextFactory.ApplicationContextState
-
Nested 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 Constructor Description LuceneChildApplicationContextFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected PropertyBackedBeanStatecreateInitialState()Creates 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, setTypeName
-
Methods 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, stop
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.alfresco.repo.management.subsystems.PropertyBackedBean
getId, removeProperties, revert, setProperties
-
Methods inherited from interface org.alfresco.repo.management.subsystems.PropertyBackedBeanState
getProperty, getPropertyNames, removeProperty, setProperty, start, stop
-
-
-
-
Method Detail
-
createInitialState
protected PropertyBackedBeanState createInitialState() throws java.io.IOException
Description copied from class:AbstractPropertyBackedBeanCreates the initial state.- Overrides:
createInitialStatein classChildApplicationContextFactory- Returns:
- the property backed bean state
- Throws:
java.io.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.
-
-