Class SolrChildApplicationContextFactory
- java.lang.Object
-
- org.alfresco.repo.management.subsystems.AbstractPropertyBackedBean
-
- org.alfresco.repo.management.subsystems.ChildApplicationContextFactory
-
- org.alfresco.repo.search.impl.solr.SolrChildApplicationContextFactory
-
- 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 SolrChildApplicationContextFactory 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 SolrChildApplicationContextFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddestroy(boolean isPermanent)Releases any resources held by this component.java.lang.StringgetProperty(java.lang.String name)Gets a property value.java.util.Set<java.lang.String>getPropertyNames()Gets the names of all properties.booleanisUpdateable(java.lang.String name)Checks if a property is updateable.voidsetProperty(java.lang.String name, java.lang.String value)Sets the value of a property.-
Methods inherited from class org.alfresco.repo.management.subsystems.ChildApplicationContextFactory
afterPropertiesSet, applyDefaultOverrides, createInitialState, getApplicationContext, getDescription, getMonitorObject, getPersister, getReadOnlyApplicationContext, getTypeName, setCompositePropertyTypes, setPersister, setTypeName
-
Methods inherited from class org.alfresco.repo.management.subsystems.AbstractPropertyBackedBean
destroy, doInit, getCategory, getEncryptedPropertyDefaults, getId, getInstancePath, getParent, getPropertyDefaults, getRegistry, getState, init, onApplicationEvent, performEarlyPropertyChecks, removeProperties, removeProperty, resolveDefault, revert, setApplicationContext, setAutoStart, setBeanName, setCategory, setEarlyPropertyCheckers, setEncryptedPropertyDefaults, setInstancePath, setProperties, 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
removeProperty, start, stop
-
-
-
-
Method Detail
-
isUpdateable
public boolean isUpdateable(java.lang.String name)
Description copied from class:AbstractPropertyBackedBeanChecks if a property is updateable.- Specified by:
isUpdateablein interfacePropertyBackedBean- Overrides:
isUpdateablein classChildApplicationContextFactory- Parameters:
name- the property name- Returns:
trueif the property is updateable
-
getProperty
public java.lang.String getProperty(java.lang.String name)
Description copied from class:AbstractPropertyBackedBeanGets a property value.- Specified by:
getPropertyin interfacePropertyBackedBeanState- Overrides:
getPropertyin classAbstractPropertyBackedBean- Parameters:
name- the name- Returns:
- the property value
-
getPropertyNames
public java.util.Set<java.lang.String> getPropertyNames()
Description copied from class:AbstractPropertyBackedBeanGets the names of all properties.- Specified by:
getPropertyNamesin interfacePropertyBackedBeanState- Overrides:
getPropertyNamesin classAbstractPropertyBackedBean- Returns:
- the property names
-
setProperty
public void setProperty(java.lang.String name, java.lang.String value)Description copied from class:AbstractPropertyBackedBeanSets the value of a property. This may only be called afterPropertyBackedBeanState.stop().When called from code within the local node the values are saved to the database in the Enterprise edition and will be visible in a JMX client.
- Specified by:
setPropertyin interfacePropertyBackedBeanState- Overrides:
setPropertyin classAbstractPropertyBackedBean- Parameters:
name- the property namevalue- the property value
-
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.
-
-