org.alfresco.repo.search.impl.solr
Class SolrChildApplicationContextFactory

java.lang.Object
  extended by org.alfresco.repo.management.subsystems.AbstractPropertyBackedBean
      extended by org.alfresco.repo.management.subsystems.ChildApplicationContextFactory
          extended by org.alfresco.repo.search.impl.solr.SolrChildApplicationContextFactory
All Implemented Interfaces:
java.util.EventListener, ApplicationContextFactory, PropertyBackedBean, PropertyBackedBeanState, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware, org.springframework.context.ApplicationListener

public class SolrChildApplicationContextFactory
extends ChildApplicationContextFactory


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
 
Field Summary
 
Fields inherited from class org.alfresco.repo.management.subsystems.AbstractPropertyBackedBean
DEFAULT_INSTANCE_NAME, lock
 
Constructor Summary
SolrChildApplicationContextFactory()
           
 
Method Summary
 java.lang.String getProperty(java.lang.String name)
          Gets a property value.
 java.util.Set getPropertyNames()
          Gets the names of all properties.
 boolean isUpdateable(java.lang.String name)
          Checks if a property is updateable.
 void setProperty(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, destroy, getApplicationContext, getDescription, getTypeName, setCompositePropertyTypes, setTypeName
 
Methods inherited from class org.alfresco.repo.management.subsystems.AbstractPropertyBackedBean
destroy, doInit, getCategory, getId, getInstancePath, getParent, getPropertyDefaults, getRegistry, getState, init, onApplicationEvent, resolveDefault, revert, setApplicationContext, setAutoStart, setBeanName, setCategory, setInstancePath, setProperties, setPropertyDefaults, setRegistry, 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, revert, setProperties
 
Methods inherited from interface org.alfresco.repo.management.subsystems.PropertyBackedBeanState
start, stop
 

Constructor Detail

SolrChildApplicationContextFactory

public SolrChildApplicationContextFactory()
Method Detail

isUpdateable

public boolean isUpdateable(java.lang.String name)
Description copied from class: AbstractPropertyBackedBean
Checks if a property is updateable.

Specified by:
isUpdateable in interface PropertyBackedBean
Overrides:
isUpdateable in class ChildApplicationContextFactory
Parameters:
name - the property name
Returns:
true if the property is updateable

getProperty

public java.lang.String getProperty(java.lang.String name)
Description copied from class: AbstractPropertyBackedBean
Gets a property value.

Specified by:
getProperty in interface PropertyBackedBeanState
Overrides:
getProperty in class AbstractPropertyBackedBean
Parameters:
name - the name
Returns:
the property value

getPropertyNames

public java.util.Set getPropertyNames()
Description copied from class: AbstractPropertyBackedBean
Gets the names of all properties.

Specified by:
getPropertyNames in interface PropertyBackedBeanState
Overrides:
getPropertyNames in class AbstractPropertyBackedBean
Returns:
the property names

setProperty

public void setProperty(java.lang.String name,
                        java.lang.String value)
Description copied from class: AbstractPropertyBackedBean
Sets the value of a property. This may only be called after PropertyBackedBeanState.stop() and should only be called for property names for which the #isUpdateable(String) method returns true.

Specified by:
setProperty in interface PropertyBackedBeanState
Overrides:
setProperty in class AbstractPropertyBackedBean
Parameters:
name - the property name
value - the property value


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.