public class StoreRegistrar extends Object implements org.springframework.context.ApplicationContextAware
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
prepend |
protected SearchPath |
searchPath |
protected Store |
store |
| Constructor and Description |
|---|
StoreRegistrar() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.context.ApplicationContext |
getApplicationContext() |
protected String |
getSearchPathId()
Overrides the id of the search path to use
|
void |
init()
Spring init method
|
protected void |
plugin(Store store,
SearchPath searchPath,
boolean prepend)
Plugs the store into the search path
|
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
void |
setPrepend(boolean prepend)
Identifies whether to prepend or not
|
void |
setSearchPath(SearchPath searchPath)
Sets the search path
|
void |
setStore(Store store)
Sets the store
|
protected SearchPath searchPath
protected Store store
protected boolean prepend
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
setApplicationContext in interface org.springframework.context.ApplicationContextAwarepublic org.springframework.context.ApplicationContext getApplicationContext()
public void setStore(Store store)
store - Storepublic void setSearchPath(SearchPath searchPath)
searchPath - SearchPathpublic void setPrepend(boolean prepend)
prepend - booleanprotected String getSearchPathId()
public void init()
protected void plugin(Store store, SearchPath searchPath, boolean prepend)
store - storesearchPath - search pathprepend - whether to prepend or notCopyright © 2005–2019 Alfresco Software. All rights reserved.