|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttoolbox.services.BaseService
toolbox.oracle.fault.management.services.FaultDistributionServiceHTTPImpl
public class FaultDistributionServiceHTTPImpl
FaultDistributionService implementation that posts (HTTP POST) fault information to the configured HTTP end point.
Constructor Summary | |
---|---|
FaultDistributionServiceHTTPImpl()
Default constructor. |
Method Summary | |
---|---|
void |
create(java.lang.String name,
java.lang.String confHome,
toolbox.services.ServiceEnvironment env,
toolbox.allegato.XMLProperties xmlProps)
Create the required HTTP client infrastructure components required to submit fault information. |
void |
destroy()
Destroy this service by shutting down the HTTP connection manager. |
void |
distribute(java.util.Map data)
Distribute method to post formatted fault data to a configured HTTP end point. |
void |
setTemplateService(toolbox.services.util.TemplateService tmplService)
Injection point for the TemplateService dependency. |
Methods inherited from class toolbox.services.BaseService |
---|
getConfigHome, getName, getProperties, getProperty, getXMLProperties, logConfig, logFine, logFiner, logFinest, logInfo, logSevere, logWarning |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FaultDistributionServiceHTTPImpl()
Method Detail |
---|
public void create(java.lang.String name, java.lang.String confHome, toolbox.services.ServiceEnvironment env, toolbox.allegato.XMLProperties xmlProps) throws toolbox.services.ServiceException
create
in interface toolbox.services.Service
create
in class toolbox.services.BaseService
name
- The name of the service.confHome
- The path to the configuration home directory.env
- ServiceEnvironment of this service.xmlProps
- XML configuration properties.
toolbox.services.ServiceException
- if the service cannot be created.public void distribute(java.util.Map data)
distribute
in interface FaultDistributionService
data
- Map containing the fault information.public void setTemplateService(toolbox.services.util.TemplateService tmplService)
tmplService
- TemplateService instance used to format fault
information.public void destroy()
destroy
in interface toolbox.services.Service
destroy
in class toolbox.services.BaseService
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |