Class WmBrokerEventWrapperImpl

    • Field Detail

      • _initializationLock

        protected static final java.lang.Object _initializationLock
      • _brokerEventClass

        protected static java.lang.Class _brokerEventClass
      • _brokerClientClass

        protected static java.lang.Class _brokerClientClass
    • Constructor Detail

      • WmBrokerEventWrapperImpl

        public WmBrokerEventWrapperImpl​(java.lang.Object event)
                                 throws java.lang.Exception
        Throws:
        java.lang.Exception
    • 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 class WmBrokerEventWrapper
        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 class WmBrokerEventWrapper
        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 class java.lang.Object
      • loadBrokerEventClass

        public static void loadBrokerEventClass()
                                         throws java.lang.ClassNotFoundException,
                                                java.lang.NoSuchMethodException
        Throws:
        java.lang.ClassNotFoundException
        java.lang.NoSuchMethodException