public class RequestPresentationPoolManager extends AbstractPresentationPoolManager
GenericService.StartCommand, GenericService.StopCommand
CLASS_VERSION
mLogger, state
Constructor and Description |
---|
RequestPresentationPoolManager()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected PresentationPool |
decorate(PresentationPool pPresentationPool)
Deprecated.
|
PresentationPool |
getActivePool(int sectionId)
Deprecated.
Gets the active PresentationPool.
|
PresentationPool |
getActivePool(int sectionId,
boolean stale)
Deprecated.
Gets the active PresentationPool.
|
ApplicationPresentationPoolManager |
getApplicationPresentationPoolManager()
Deprecated.
|
PresentationPool |
getPool(int poolId,
int publicationId)
Deprecated.
gets the PresentationPool specified by poolId and publicationId
|
void |
setApplicationPresentationPoolManager(ApplicationPresentationPoolManager pApplicationPresentationPoolManager)
Deprecated.
|
protected void |
startService()
Deprecated.
Is called by
AbstractNurseryService.doStartService() when the NurseryService is being started. |
protected void |
stopService()
Deprecated.
Is called by
AbstractNurseryService.doStopService() when the service is being shut down. |
addDecoratorFactory, getDecoratorFactories, getLayoutGroupDefinitionManager, setLayoutGroupDefinitionManager
doStartService, doStopService, stopIdleService
assertServiceRunning, getServiceDescription, getServiceMessage, getServiceState, isServiceEnabled, isServiceFailed, isServiceIdle, isServiceRunning, isServiceShutdownFailed, isServiceStopped, setServiceDescription, setServiceEnabled, start, stop, validateIsTrue, validateNotNull
public RequestPresentationPoolManager()
public ApplicationPresentationPoolManager getApplicationPresentationPoolManager()
public void setApplicationPresentationPoolManager(ApplicationPresentationPoolManager pApplicationPresentationPoolManager)
protected void stopService() throws Exception
AbstractNurseryService
Is called by AbstractNurseryService.doStopService()
when the service
is being shut down. Exceptions thrown by this
method are logged by AbstractNurseryService.doStopService()
.
Subclasses must implement this method to shut down the service.
stopService
in class AbstractNurseryService
IllegalStateException
- when this service is in the wrong state for shutdown. Used to signal to AbstractNurseryService.doStopService()
that
it is OK to try stopping this service
later. GenericService.isServiceRunning()
returns true
.Exception
- when something goes during shutdown. GenericService.isServiceRunning()
returns false
and
GenericService.isServiceShutdownFailed()
returns true
.AbstractNurseryService.doStopService()
protected void startService() throws Exception
AbstractNurseryService
Is called by AbstractNurseryService.doStartService()
when the NurseryService
is being started. Exceptions thrown by this
method are logged by AbstractNurseryService.doStartService()
.
Subclasses must implement this method to bootstrap the service.
startService
in class AbstractPresentationPoolManager
Exception
- when something goes wrong during startup. GenericService.isServiceRunning()
will return false
and GenericService.isServiceFailed()
will return true
.IllegalArgumentException
- when the configuration of the service
is invalid. GenericService.isServiceRunning()
will return false
and GenericService.isServiceFailed()
will return true
.IllegalStateException
- when this service is in the wrong state for startup. Used to signal to AbstractNurseryService.doStartService()
that it is OK to try to starting
this service
later. GenericService.isServiceRunning()
returns false
and GenericService.isServiceIdle()
returns true
.AbstractNurseryService.doStartService()
public PresentationPool getPool(int poolId, int publicationId)
PresentationPoolManager
poolId
- id of the requested poolpublicationId
- id of the publication to the requested poolpublic PresentationPool getActivePool(int sectionId)
PresentationPoolManager
sectionId
- the id of the section we will get the cache active
PresentationPoolpublic PresentationPool getActivePool(int sectionId, boolean stale)
PresentationPoolManager
sectionId
- the id of the section we will get the cache active
PresentationPoolprotected PresentationPool decorate(PresentationPool pPresentationPool)
decorate
in class AbstractPresentationPoolManager
© 1998- 2021 Escenic AS