|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sakaiproject.entitybroker.rest.EntityBrokerRESTServiceManager
public class EntityBrokerRESTServiceManager
This creates all the needed services (as if it were a service manager),
this will let us create the services we need without too much confusion and ensure
we are using the same ones
If this is used then the services should not be created in some other way but should be
initiated here and then exported from this class only
| Constructor Summary | |
|---|---|
protected |
EntityBrokerRESTServiceManager()
|
|
EntityBrokerRESTServiceManager(EntityBrokerManager entityBrokerManager)
Base constructor |
|
EntityBrokerRESTServiceManager(EntityBrokerManager entityBrokerManager,
HttpServletAccessProviderManager httpServletAccessProviderManager)
Full constructor |
| Method Summary | |
|---|---|
void |
destroy()
Shuts down all services and cleans up |
EntityActionsManager |
getEntityActionsManager()
|
EntityBatchHandler |
getEntityBatchHandler()
|
EntityDescriptionManager |
getEntityDescriptionManager()
|
EntityEncodingManager |
getEntityEncodingManager()
|
EntityRedirectsManager |
getEntityRedirectsManager()
|
EntityHandlerImpl |
getEntityRequestHandler()
|
EntityRESTProviderBase |
getEntityRESTProvider()
|
static EntityBrokerRESTServiceManager |
getInstance()
|
void |
init()
WARNING: If you use the non-empty constructors to make this object then do not run this, it has already been run and should not be run a second time Startup all the REST services for the EB system, this can only be run after this is constructed with a full constructor or the setEntityBrokerManager(EntityBrokerManager) method has been called
(i.e. all the required services are set) |
void |
setEntityBrokerManager(EntityBrokerManager entityBrokerManager)
|
static void |
setInstance(EntityBrokerRESTServiceManager ersm)
|
void |
shutdown()
Shutdown the services (just calls over to destroy) |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected EntityBrokerRESTServiceManager()
public EntityBrokerRESTServiceManager(EntityBrokerManager entityBrokerManager)
entityBrokerManager - the main entity broker manager service
public EntityBrokerRESTServiceManager(EntityBrokerManager entityBrokerManager,
HttpServletAccessProviderManager httpServletAccessProviderManager)
entityBrokerManager - the main entity broker manager servicehttpServletAccessProviderManager - (optional)| Method Detail |
|---|
public static EntityBrokerRESTServiceManager getInstance()
public static void setInstance(EntityBrokerRESTServiceManager ersm)
public void setEntityBrokerManager(EntityBrokerManager entityBrokerManager)
public void init()
setEntityBrokerManager(EntityBrokerManager) method has been called
(i.e. all the required services are set)
public void shutdown()
public void destroy()
public EntityActionsManager getEntityActionsManager()
public EntityDescriptionManager getEntityDescriptionManager()
public EntityEncodingManager getEntityEncodingManager()
public EntityRedirectsManager getEntityRedirectsManager()
public EntityHandlerImpl getEntityRequestHandler()
public EntityBatchHandler getEntityBatchHandler()
public EntityRESTProviderBase getEntityRESTProvider()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||