systemic.sif.sbpframework.subscriber
Class SBPNoDOCSubscriber

java.lang.Object
  extended by systemic.sif.sifcommon.BaseInfo
      extended by systemic.sif.sifcommon.subscriber.BaseSubscriber
          extended by systemic.sif.sbpframework.subscriber.SyncSubscriber
              extended by systemic.sif.sbpframework.subscriber.SBPNoDOCSubscriber
All Implemented Interfaces:
java.lang.Runnable, openadk.library.QueryResults, openadk.library.Subscriber

public abstract class SBPNoDOCSubscriber
extends SyncSubscriber

Subscribers for Objects that are not defined as part of the SBP must extend this class rather than the SBPBaseSubscriber. This class still supports the functionality of controlling start-up sequencing and management through a database, much like the SBP Subscribers, but subscribers extending this class do not have the DOC behind the scenes. This means objects received by this subscriber will be processed immediately rather then checking dependencies and attempting them to be resolved. Only SIF Objects that are not part of the SBP should use this class to implement subscribers.

Author:
Joerg Huber

Constructor Summary
SBPNoDOCSubscriber(java.lang.String subscriberID, openadk.library.ElementDef dtd)
          Default Constructor.
 
Method Summary
 
Methods inherited from class systemic.sif.sbpframework.subscriber.SyncSubscriber
sync
 
Methods inherited from class systemic.sif.sifcommon.subscriber.BaseSubscriber
debugOnEvent, debugOnQueryResults, finalise, getQueryResultsOptions, getSubscriptionOptions, onEvent, onQueryPending, onQueryResults, processEvent, processResponse, provision, reportSIFError, run, setQueryResultsOptions, setSubscriptionOptions, shutdownSubscriber, startConsumers
 
Methods inherited from class systemic.sif.sifcommon.BaseInfo
getAgentConfig, getAgentID, getAgentProperties, getAgentProperty, getApplicationID, getDtd, getFrameworkProperties, getId, getMappings, getZoneByID, getZones, isValidZone, setAgentConfig, setAgentID, setAgentProperties, setApplicationID, setDtd, setFrameworkProperties, setId, setMappings, setZones
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SBPNoDOCSubscriber

public SBPNoDOCSubscriber(java.lang.String subscriberID,
                          openadk.library.ElementDef dtd)
Default Constructor.

This class also checks if the SIF Object type it is initialised for would better be initialised with the SBPBaseSubscriber. This is only applicable if the SIF Object type is known to the metadata cache and therefore should be handled by the DOC and mentioned class. In this case a warning will be logged and the subscriber is still initialised.