|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.extensions.surf.AutowireService
public class AutowireService
Autowire Service for Surf This service performs autowiring of Surf stores and search paths. Modes - developer, production Runtime - classpath, webapp, local, alfresco
Constructor Summary | |
---|---|
AutowireService()
|
Method Summary | |
---|---|
protected void |
autoWire()
Called on bootstrap to process autowire Surf configuration |
protected void |
bindObjectsPersister(String persisterId,
String[] persisterIds,
String defaultPersisterId)
|
protected void |
bindSearchPath(String searchPathId,
String[] storeIds)
Binds a list of stores to a search path Used by autowiring |
org.springframework.context.ApplicationContext |
getApplicationContext()
Gets the application context. |
WebFrameworkConfigElement |
getWebFrameworkConfiguration()
|
void |
init()
Spring Initialization Method |
protected void |
insertIntoSearchPath(String searchPathId,
String storeId,
String referenceStoreId,
boolean before)
Inserts a store into a search path |
protected void |
reportPersister(String persisterId)
|
protected void |
reportSearchPath(String searchPathId)
|
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
|
void |
setConfigService(ConfigService configService)
|
protected String[] |
spliceArrayElement(String[] array,
String element)
Removes the given element from the array |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AutowireService()
Method Detail |
---|
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
org.springframework.beans.BeansException
public org.springframework.context.ApplicationContext getApplicationContext()
public void setConfigService(ConfigService configService)
public WebFrameworkConfigElement getWebFrameworkConfiguration()
public void init()
protected void autoWire()
protected void bindObjectsPersister(String persisterId, String[] persisterIds, String defaultPersisterId)
protected void bindSearchPath(String searchPathId, String[] storeIds)
searchPathId
- storeIds
- protected void insertIntoSearchPath(String searchPathId, String storeId, String referenceStoreId, boolean before)
searchPathId
- storeId
- referenceStoreId
- before
- protected void reportSearchPath(String searchPathId)
protected void reportPersister(String persisterId)
protected String[] spliceArrayElement(String[] array, String element)
array
- element
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |