com.protomatter.pas.event
Class PASEventListenerStartup
java.lang.Object
|
+--com.protomatter.pas.event.PASEventListenerStartup
- All Implemented Interfaces:
- PASStartup
- public class PASEventListenerStartup
- extends java.lang.Object
- implements PASStartup
Register event listeners at startup via the PAS properties file.
This startup class should be run after the
com.protomatter.pas.eventmanager.PASEventManagerImpl
startup class which initializes the event topic tree and other
event-related PAS internals.
This startup class looks throught the PAS properties file for
things that look like this:
pas.event.SYMBOLICNAME=\
topics=TOPIC1;TOPIC2;...;TOPICN,\
listener=event.listener.class.name
It then loads the given class, calls it's default constructor and
registers it as a listener for the topics that were specified.
- See Also:
PASEventListener
,
PASEventManager
Method Summary |
java.lang.String |
startup(java.lang.String myName,
java.util.Properties pasProps,
java.util.Properties myProps,
javax.naming.Context context)
Start this thing up. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PASEventListenerStartup
public PASEventListenerStartup()
- Default constructor.
startup
public java.lang.String startup(java.lang.String myName,
java.util.Properties pasProps,
java.util.Properties myProps,
javax.naming.Context context)
throws StartupException
- Description copied from interface:
PASStartup
- Start this thing up.
- Specified by:
startup
in interface PASStartup
- See Also:
PASStartup