DynamicEventBroadcasterFactory
| Kind of class: | class |
|---|---|
| Inherits from: | BasicClass |
| Implements: | |
| Author: | Martin Heidegger |
| Classpath: | org.as2lib.env.event.broadcaster.DynamicEventBroadcasterFactory |
| File last modified: | Saturday, 23 April 2005, 13:51:00 |
DynamicEventBroadcasterFactory creates and returns any kind of eventbroadcaster.
or with the setEventBroadcasterClass method.
Summary
Constructor
Instance methods
Instance methods inherited from BasicClass
Constructor
DynamicEventBroadcasterFactory
function DynamicEventBroadcasterFactory (
clazz:Function)
Constructs a new
DynamicEventBroadcasterFactory instance.Parameters:
clazz:
the EventBroadcaster implementation to return instances of
Instance methods
createEventBroadcaster
function createEventBroadcaster (
Void) : EventBroadcaster
Creates and returns a new instance of a the specified class.
Returns:
a new instance of the specified class
Throws:
org.as2lib.env.except.IllegalStateException if no class to return instances of has been set
yet
yet
Specified by:
setEventBroadcasterClass
function setEventBroadcasterClass (
clazz:Function)
Sets the EventBroadcaster implementation to return instances of.
Parameters:
clazz:
the EventBroadcaster implementation to return instances of
Throws:
org.as2lib.env.except.IllegalArgumentException if the passed-in
implementation of the
clazz is not animplementation of the
EventBroadcaster interface