***  This API provides Binary Compatibility only, not Source Compatibility  ***

com.sas.services.events
Class EventFactory

java.lang.Object
  |
  +--com.sas.services.events.EventFactory

public class EventFactory
extends Object

This class produces events that can be sent to an EventBroker service. Event specifications are described in the package documentation for the Event Broker.

Usage

Use this class to create new events.

Since:
1.0

Constructor Summary
EventFactory()
          Default constructor.
 
Method Summary
 EventInterface newEvent()
          Create a new Event.
 EventInterface newEvent(Document existingEvent)
          Create a new Event from an existing one.
 EventInterface newEvent(String eventName)
          Create a new Event with the specified name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventFactory

public EventFactory()
Default constructor.
Method Detail

newEvent

public EventInterface newEvent()
Create a new Event.
Returns:
generated event.
See Also:
EventInterface

newEvent

public EventInterface newEvent(String eventName)
Create a new Event with the specified name.
Parameters:
eventName - Name of the event.
Returns:
generated event.
See Also:
EventInterface

newEvent

public EventInterface newEvent(Document existingEvent)
Create a new Event from an existing one.
Parameters:
existingEvent - existing event.
Returns:
generated event.
See Also:
EventInterface

***  This API provides Binary Compatibility only, not Source Compatibility  ***




Copyright © 2006 SAS Institute Inc. All Rights Reserved.
javadoc generated Fri, 10 Feb 2006 17:28:54