Package com.webmethods.jms.marshal.impl
Class WmBrokerEventWrapperImpl
- java.lang.Object
-
- com.webmethods.jms.marshal.WmBrokerEventWrapper
-
- com.webmethods.jms.marshal.impl.WmBrokerEventWrapperImpl
-
public class WmBrokerEventWrapperImpl extends WmBrokerEventWrapper
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.Class
_brokerClientClass
protected static java.lang.Class
_brokerEventClass
protected static java.lang.Object
_initializationLock
-
Constructor Summary
Constructors Constructor Description WmBrokerEventWrapperImpl(java.lang.Object event)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.lang.Object
fromBinData(byte[] eventData)
java.lang.Object
getBrokerEvent()
java.lang.String
getDestinationId()
Get the current destination for the event.java.lang.String
getTypeName()
static void
loadBrokerEventClass()
void
setDestinationId(java.lang.String destId)
Set the destination for delivery of the wrapped event.void
setEventData(byte[] eventData)
byte[]
toBinData()
java.lang.String
toString()
-
Methods inherited from class com.webmethods.jms.marshal.WmBrokerEventWrapper
create
-
-
-
-
Method Detail
-
getBrokerEvent
public java.lang.Object getBrokerEvent() throws java.lang.Exception
- Throws:
java.lang.Exception
-
setDestinationId
public void setDestinationId(java.lang.String destId)
Description copied from class:WmBrokerEventWrapper
Set the destination for delivery of the wrapped event. If the event is to be published rather than delivered, this method should not be called.- Specified by:
setDestinationId
in classWmBrokerEventWrapper
- Parameters:
destId
- name of the Broker client to deliver the event to
-
getDestinationId
public java.lang.String getDestinationId()
Description copied from class:WmBrokerEventWrapper
Get the current destination for the event.- Specified by:
getDestinationId
in classWmBrokerEventWrapper
- Returns:
- the name of the Broker client the event will be delivered to, if it has been set.
-
fromBinData
public static java.lang.Object fromBinData(byte[] eventData) throws java.lang.Exception
- Throws:
java.lang.Exception
-
getTypeName
public java.lang.String getTypeName() throws java.lang.Exception
- Throws:
java.lang.Exception
-
toBinData
public byte[] toBinData() throws java.lang.Exception
- Throws:
java.lang.Exception
-
setEventData
public void setEventData(byte[] eventData)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
loadBrokerEventClass
public static void loadBrokerEventClass() throws java.lang.ClassNotFoundException, java.lang.NoSuchMethodException
- Throws:
java.lang.ClassNotFoundException
java.lang.NoSuchMethodException
-
-