public class TagFacade extends AbstractNurseryService implements TagCloudProvider
GenericService.StartCommand, GenericService.StopCommand
Modifier and Type | Field and Description |
---|---|
static String |
CLASS_VERSION
Deprecated.
The version of this class.
|
protected org.apache.log4j.Logger |
mLogger
Deprecated.
|
state
Constructor and Description |
---|
TagFacade()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
TagCloud |
getCloud(String pStructureName)
Deprecated.
|
TagCloud |
getCloud(String pStructureName,
Comparator<PresentationCloudTag> pComparator)
Deprecated.
|
org.apache.commons.httpclient.HttpClient |
getHttpClient()
Deprecated.
|
PresentationLoader |
getPresentationLoader()
Deprecated.
|
String |
getSolrBaseURI()
Deprecated.
|
void |
setHttpClient(org.apache.commons.httpclient.HttpClient pHttpClient)
Deprecated.
|
void |
setPresentationLoader(PresentationLoader presentationLoader)
Deprecated.
|
void |
setSolrBaseURI(String solrBaseURI)
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. |
doStartService, doStopService, stopIdleService
assertServiceRunning, getServiceDescription, getServiceMessage, getServiceState, isServiceEnabled, isServiceFailed, isServiceIdle, isServiceRunning, isServiceShutdownFailed, isServiceStopped, setServiceDescription, setServiceEnabled, start, stop, validateIsTrue, validateNotNull
public static final String CLASS_VERSION
protected transient org.apache.log4j.Logger mLogger
public void setSolrBaseURI(String solrBaseURI)
public String getSolrBaseURI()
public void setHttpClient(org.apache.commons.httpclient.HttpClient pHttpClient)
public org.apache.commons.httpclient.HttpClient getHttpClient()
public void setPresentationLoader(PresentationLoader presentationLoader)
public PresentationLoader getPresentationLoader()
protected final void startService() throws IllegalStateException, IllegalArgumentException, 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 AbstractNurseryService
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
.IllegalArgumentException
- when the configuration of the service
is invalid. GenericService.isServiceRunning()
will return false
and GenericService.isServiceFailed()
will return true
.Exception
- when something goes wrong during startup. GenericService.isServiceRunning()
will return false
and GenericService.isServiceFailed()
will return true
.AbstractNurseryService.doStartService()
protected final void stopService() throws IllegalStateException, 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()
public TagCloud getCloud(String pStructureName)
getCloud
in interface TagCloudProvider
public TagCloud getCloud(String pStructureName, Comparator<PresentationCloudTag> pComparator)
getCloud
in interface TagCloudProvider
© 1998- 2021 Escenic AS