All Packages Class Hierarchy This Package Previous Next Index
Class org.webmacro.broker.AnnounceResourceEvent
java.lang.Object
|
+----java.util.EventObject
|
+----org.webmacro.broker.ResourceEvent
|
+----org.webmacro.broker.AnnounceResourceEvent
- public final class AnnounceResourceEvent
- extends ResourceEvent
A resource which was constructed and announced by a ResourceProvider.
-
AnnounceResourceEvent(ResourceBroker, String, String, Object)
- Create a new ResourceEvent.
AnnounceResourceEvent
public AnnounceResourceEvent(ResourceBroker broker,
String type,
String name,
Object resource) throws InvalidArgumentException
- Create a new ResourceEvent. Providers can call this constructor to
construct a new resource they wish to announce.
Providers MUST specify a ResourceBroker as the source of an event
A ResourceEvent constructed from a request will always have the
ResourceBroker as its source.
- Parameters:
- broker - is the source broker which handles this event
- type - is required by Providers when filling requests
- name - may be used by a provider filling a request
- Throws: InvalidArgumentException
- if a null value is passed in
All Packages Class Hierarchy This Package Previous Next Index