com.ibm.websphere.runtime
Interface CustomService


public interface CustomService

The CustomService interface must be implemented by all WebSphere Custom Service extensions. The application server runtime will call the initialize method of this interface on every enabled Custom Service configured in the server.


Field Summary
static java.lang.String externalConfigURLKey
           
 
Method Summary
 void initialize(java.util.Properties configProperties)
          The initialize method is called by the application server runtime during server startup.
 void shutdown()
          The shutdown method is called by the application server runtime when the server begins it shutdown processing.
 

Field Detail

externalConfigURLKey

public static final java.lang.String externalConfigURLKey
See Also:
Constant Field Values
Method Detail

initialize

public void initialize(java.util.Properties configProperties)
                throws java.lang.Exception
The initialize method is called by the application server runtime during server startup. The Properties object passed in on this method must contain all configuration information necessary for this service to initialize properly.

Parameters:
configProperties - java.util.Properties
Throws:
java.lang.Exception

shutdown

public void shutdown()
              throws java.lang.Exception
The shutdown method is called by the application server runtime when the server begins it shutdown processing. The Properties object passed in on this method contain all configuration information for this service.

Throws:
java.lang.Exception