public class EventIdentityPassthru extends CloneableDataObject
Title: Service Event Fabric Runtime
Description: A default implementation of an Event Identitiy Manager that simply passes thru the accepted datagram's identity properties.
Copyright: Copyright (c) 2009
Company: StreamScape Technologies
DEFAULT_SERIAL_VERSION_ID
Constructor and Description |
---|
EventIdentityPassthru() |
Modifier and Type | Method and Description |
---|---|
void |
acceptDatagramIdentity(EventDatagram datagram)
Accepts a datagram's Event Identity allowing the plugin to manipulate
it's elements or use them as seed values for
EventIdentity . |
void |
acceptIdentity(EventIdentity identity)
Accepts an identity object that may be used as seed values for the plugin's values.
|
EventIdentityPlugin |
clone()
Clones the object.
|
java.lang.String |
getDescription()
Returns a description of this plugin.
|
EventIdentity |
getIdentity()
Returns an Event Identity object that represents the current state of the identity manager plugin.
|
java.lang.String |
getName()
Returns a user-friendly name of this plugin.
|
java.lang.String |
getPluginName()
Returns an unique name of the plugin.
|
void |
init(ServiceContext ctx)
Initializes the Event Identity plugin.
|
void |
setDatagramIdentity(EventDatagram datagram)
Sets an Event Identity of a given datagram using the plugin's values.
|
void |
setExceptionIdentity(ExceptionEventDatagram exception)
Sets an Event Identity of a given exception using the plugin's values.
|
void |
unload()
Unloads the Event Identity plugin.
|
getSerialVersionUID
public void init(ServiceContext ctx)
EventIdentityPlugin
init
in interface EventIdentityPlugin
ctx
- the context of the associated service.public void acceptDatagramIdentity(EventDatagram datagram)
EventIdentityPlugin
EventIdentity
.datagram
- the specified datagram.public void setDatagramIdentity(EventDatagram datagram)
EventIdentityPlugin
datagram
- the specified datagram.public java.lang.String getName()
EventIdentityPlugin
getName
in interface EventIdentityPlugin
public java.lang.String getDescription()
EventIdentityPlugin
public void acceptIdentity(EventIdentity identity)
EventIdentityPlugin
acceptIdentity
in interface EventIdentityPlugin
identity
- the specified identity.public void setExceptionIdentity(ExceptionEventDatagram exception)
EventIdentityPlugin
exception
- the specified exception.public void unload()
EventIdentityPlugin
unload
in interface EventIdentityPlugin
public EventIdentity getIdentity()
EventIdentityPlugin
getIdentity
in interface EventIdentityPlugin
public java.lang.String getPluginName()
EventIdentityPlugin
getPluginName
in interface EventIdentityPlugin
public EventIdentityPlugin clone()
CloneableDataObject
clone
in interface CloneableObject
clone
in interface EventIdentityPlugin
clone
in class CloneableDataObject
Copyright © 2015-2024 StreamScape Technologies. All rights reserved.