Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.bea.httppubsub
Interface MessageFactory

public interface MessageFactory

Factory interface for creating messages.

Method Summary
`EventMessage` | `createEventMessage(LocalClient client, java.lang.Object payLoad)` Create EventMessage object with specified payLoad.

Method Detail

### createEventMessage

    public EventMessage createEventMessage(LocalClient client,
                                           java.lang.Object payLoad)

  Create EventMessage object with specified payLoad. The toString() method of payLoad object will be used to fill in "data" field of event message.

  Parameters:
    `client` - LocalClient object
    `payLoad` - data field in event message.
  Returns:
    EventMessage object.
  Throws:
    java.lang.NullPointerException - if client or payLoad is null.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2007 BEA Systems All Rights Reserved.