|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectopenadk.library.Agent
systemic.sif.sifcommon.agent.SIFBaseAgent
systemic.sif.sbpframework.agent.SBPPublisherAgent
public class SBPPublisherAgent
This is an actual implementation of a publishing agent for the SBP. In most cases one can use this agent out of the box. The main restriction it has is that it cannot deal with custom objects. If that should be required one must write a new agent like this and implement the initCustomObjects() method of the SIFBaseAgent class.
To start this agent the following command line statement is used:
<JAVA_HOME>/bin/java <JVM_SETTINGS> -cp <classpath> systemic.sif.sbpframework.agent.SBPPublisherAgent <agentID> [ <agent.properties>]
<agentID>: Required. Must be an ID of an agent used in the <agen>.properties file.
<agent.properties>: Optional. The name of the agent properties file. If not provided it is
assumed to be called SIFAgent.properties. The directory of this file must be on
the classpath.
Field Summary |
---|
Fields inherited from class openadk.library.Agent |
---|
LOG_IDENTIFIER |
Constructor Summary | |
---|---|
SBPPublisherAgent(java.lang.String agentID,
java.lang.String propertyFileName)
|
Method Summary | |
---|---|
void |
initCustomObjects()
Default implementation does nothing. |
static void |
main(java.lang.String[] args)
|
Methods inherited from class systemic.sif.sifcommon.agent.SIFBaseAgent |
---|
getAgentConfig, getAgentID, getAgentMappings, getAgentProperties, getFrameworkProperties, getHomeDir, getInitialisedPublishers, getInitialisedSubscribers, getMappings, getZones, setAgentID, setAgentMappings, setFrameworkProperties, startAgent, startAgent, startAgent, startAgent, stopAgent |
Methods inherited from class openadk.library.Agent |
---|
addMessagingListener, getConfigurationSource, getDefaultHttpProperties, getDefaultHttpsProperties, getDefaultTransportProperties, getDefaultZoneProperties, getErrorHandler, getId, getLog, getLog, getMessagingListeners, getName, getProperties, getPublisher, getQueryResults, getReportPublisher, getServerLog, getServerLog, getSubscriber, getThreadPoolManager, getTopicFactory, getTransportManager, getZoneFactory, initialize, isInitialized, isShutdown, makeGUID, purgeQueue, removeMessagingListener, setConfigurationSource, setErrorHandler, setId, setName, setPublisher, setPublisher, setQueryResults, setQueryResults, setReportPublisher, setSubscriber, setSubscriber, shutdown, shutdown, sleep, wakeup |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SBPPublisherAgent(java.lang.String agentID, java.lang.String propertyFileName) throws java.lang.Exception
java.lang.Exception
Method Detail |
---|
public void initCustomObjects()
initCustomObjects
in class systemic.sif.sifcommon.agent.SIFBaseAgent
public static void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |