|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.extensions.surf.WebFrameworkManager
public class WebFrameworkManager
WebFramework general manager. Responsible for loading of the beans to persist model objects in the system. Also deals with supplying persister objects for a given type. Initialised via the FrameworkHelper during main webframework initialisation.
Constructor Summary | |
---|---|
WebFrameworkManager()
|
Method Summary | |
---|---|
org.springframework.context.ApplicationContext |
getApplicationContext()
Gets the application context. |
ModelObjectManager |
getObjectManager(ModelPersistenceContext context)
Returns an object manager instance which has been bound to the provided persister context. |
ModelObjectManager |
getObjectManager(String userId,
String repositoryStoreId)
Returns an object service instance which will be bound to the provided user and repository store ids. |
Map<String,ModelObjectPersister> |
getObjectPersisters()
|
ModelObjectPersister |
getPersister(String objectTypeId)
Returns a persister for the given object type id. |
ModelObjectPersister |
getPersisterById(String persisterId)
Returns a persister instance for a given persister id |
WebFrameworkServiceRegistry |
getServiceRegistry()
Gets the service registry. |
WebFrameworkConfigElement |
getWebFrameworkConfig()
Gets the web framework config. |
void |
initPersisters()
Initializes the persisters. |
void |
onApplicationEvent(org.springframework.context.ApplicationEvent event)
|
protected void |
onBootstrap()
Initialization of the Web Framework Manager |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
|
void |
setServiceRegistry(WebFrameworkServiceRegistry serviceRegistry)
Sets the service registry. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WebFrameworkManager()
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 setServiceRegistry(WebFrameworkServiceRegistry serviceRegistry)
serviceRegistry
- the new service registrypublic WebFrameworkServiceRegistry getServiceRegistry()
public WebFrameworkConfigElement getWebFrameworkConfig()
public void onApplicationEvent(org.springframework.context.ApplicationEvent event)
onApplicationEvent
in interface org.springframework.context.ApplicationListener
protected void onBootstrap()
public ModelObjectManager getObjectManager(ModelPersistenceContext context) throws WebFrameworkServiceException
context
- the context
WebFrameworkServiceException
public ModelObjectManager getObjectManager(String userId, String repositoryStoreId) throws WebFrameworkServiceException
userId
- the user idrepositoryStoreId
- the repository store id
WebFrameworkServiceException
public ModelObjectPersister getPersister(String objectTypeId)
objectTypeId
-
public ModelObjectPersister getPersisterById(String persisterId)
persisterId
-
public Map<String,ModelObjectPersister> getObjectPersisters()
public void initPersisters()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |