public abstract class AdapterStartUpEvent extends AdapterLifecycleEvent
Event
contains details of the Adapter
configuration.
The earliest point in the adapter lifecycle that an event can be emitted is after init
, therefore this event is
always emitted at the end of the initialisation phase.
Concrete implementations of this class provide solution-specific behaviour, such as extracting valid receive destinations, sending the entire adapter config, etc.
StandardAdapterStartUpEvent
,
Serialized FormConstructor and Description |
---|
AdapterStartUpEvent() |
Modifier and Type | Method and Description |
---|---|
abstract void |
setAdapter(Adapter adapter)
Sets the
Adapter that generated this start up event. |
getAdapterUniqueId, getNameSpace, getWasSuccessful, setAdapterUniqueId, setWasSuccessful
createNameSpace, getCreationTime, getDestinationId, getSourceId, getUniqueId, setCreationTime, setDestinationId, setSourceId, setUniqueId
public abstract void setAdapter(Adapter adapter) throws CoreException
Sets the Adapter
that generated this start up event.
Solution-specific sub-classes should implement this method and extract
information that they need (such as valid consume destinations) from the
Adapter
object (hence the ability to throw
Exception
s from a set).
adapter
- the Adapter
that generated this start-up eventCoreException
- wrapping any underlying Exceptions that may occur