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:
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
FieldsModifier and TypeFieldDescriptionprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final StringFields inherited from class org.alfresco.repo.management.subsystems.AbstractPropertyBackedBean
DEFAULT_INSTANCE_NAME, lock, runtimeState -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddestroy(boolean isPermanent) Releases any resources held by this component.getProperty(String name) Gets a property value.Gets the names of all properties.booleanisUpdateable(String name) Checks if a property is updateable.voidsetAdminClient(SolrAdminHTTPClient adminClient) voidsetProperty(String name, 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, setTypeNameMethods 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, 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
removeProperty, start, stop
-
Field Details
-
ALFRESCO_ACTIVE
- See Also:
-
ALFRESCO_LAG
- See Also:
-
ALFRESCO_LAG_DURATION
- See Also:
-
ALFRESCO_LAST_INDEXED_TXN
- See Also:
-
ALFRESCO_APPROX_TXNS_REMAINING
- See Also:
-
ALFRESCO_APPROX_INDEXING_TIME_REMAINING
- See Also:
-
ALFRESCO_DISK
- See Also:
-
ALFRESCO_MEMORY
- See Also:
-
ARCHIVE_ACTIVE
- See Also:
-
ARCHIVE_LAG
- See Also:
-
ARCHIVE_LAG_DURATION
- See Also:
-
ARCHIVE_LAST_INDEXED_TXN
- See Also:
-
ARCHIVE_APPROX_TXNS_REMAINING
- See Also:
-
ARCHIVE_APPROX_INDEXING_TIME_REMAINING
- See Also:
-
ARCHIVE_DISK
- See Also:
-
ARCHIVE_MEMORY
- See Also:
-
-
Constructor Details
-
SolrChildApplicationContextFactory
public SolrChildApplicationContextFactory()
-
-
Method Details
-
setAdminClient
-
getAdminClient
-
isUpdateable
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
Description copied from class:AbstractPropertyBackedBeanGets a property value.- Specified by:
getPropertyin interfacePropertyBackedBeanState- Overrides:
getPropertyin classAbstractPropertyBackedBean- Parameters:
name- the name- Returns:
- the property value
-
getPropertyNames
Description copied from class:AbstractPropertyBackedBeanGets the names of all properties.- Specified by:
getPropertyNamesin interfacePropertyBackedBeanState- Overrides:
getPropertyNamesin classAbstractPropertyBackedBean- Returns:
- the property names
-
setProperty
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.
-