public class Trigger extends StandaloneConsumer implements LicensedComponent
In the adapter configuration file this class is aliased as trigger which is the preferred alternative to the fully qualified classname when building your configuration.
License Required: STANDARD
CONFIRMATION_ID_KEY
Constructor and Description |
---|
Trigger() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
AdaptrisMessageProducer |
getProducer() |
void |
init() |
boolean |
isEnabled(License license) |
void |
prepare() |
void |
setProducer(AdaptrisMessageProducer p) |
void |
start() |
void |
stop() |
changeState, createName, createQualifier, decode, encode, getConnection, getConsumer, getDestination, getEncoder, getIsTrackingEndpoint, getMessageFactory, getUniqueId, handleConnectionException, isTrackingEndpoint, registerAdaptrisMessageListener, registerConnection, requestClose, requestInit, requestStart, requestStop, retrieveComponentState, retrieveConnection, setConnection, setConsumer, setDestination, setEncoder, setIsTrackingEndpoint, setMessageFactory
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
consumeLocationKey
public void close()
close
in interface ComponentLifecycle
close
in class StandaloneConsumer
public void init() throws CoreException
init
in interface ComponentLifecycle
init
in class StandaloneConsumer
CoreException
public void prepare() throws CoreException
prepare
in interface ComponentLifecycleExtension
prepare
in class StandaloneConsumer
CoreException
public boolean isEnabled(License license)
isEnabled
in interface LicensedComponent
public void start() throws CoreException
start
in interface ComponentLifecycle
start
in class StandaloneConsumer
CoreException
public void stop()
stop
in interface ComponentLifecycle
stop
in class StandaloneConsumer
public AdaptrisMessageProducer getProducer()
public void setProducer(AdaptrisMessageProducer p)
p
- the producer to set