Protomatter Classes v1.1.6

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.
 

Method Detail

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.

Protomatter Classes v1.1.6
Copyright 1998-2001 Nate Sammons

Protomatter Classes v1.1.6 http://protomatter.sourceforge.net/1.1.6