com.protomatter.pas.init
Interface PASStartup
- All Known Implementing Classes:
- PASCronManagerImpl, PASCronManagerStartup, PASEventListenerStartup, PASEventManagerImpl, PASJdbcPoolStartup, ProtoPASStartup, PASWorkServiceImpl
- public interface PASStartup
Objects implementing this interface and listed in the configuration
file for PAS are started when PAS is started. To have an implementation
of this interface started with PAS, list it in the configuration file
for PAS like this:
pas.startupClass.NAME = classname
pas.startupArgs.NAME = key1=val1,key2=val2,...
When PAS goes to run an implementation of this interface, the class is
loaded using Class.forName(...), it's default constructor is
called, and then the startup(...) method is called with
appropriate arguments.
Method Summary |
java.lang.String |
startup(java.lang.String name,
java.util.Properties pasProps,
java.util.Properties myProps,
javax.naming.Context context)
Start this thing up. |
startup
public java.lang.String startup(java.lang.String name,
java.util.Properties pasProps,
java.util.Properties myProps,
javax.naming.Context context)
throws StartupException
- Start this thing up.
- Parameters:
name
- The symbolic name that this class is listed as in
the configuration file for PAS.pasProps
- The entire configuraton file for PAS.myProps
- Properties specified in the
pas.startupArgs.NAME property.context
- A JNDI context object connected to PAS's JNDI tree.