com.ibm.websphere.runtime

Interface CustomService


  1. 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

Modifier and Type Field and Description
  1. static
  2. java.lang.String
externalConfigURLKey

Method Summary

Modifier and Type Method and Description
  1. void
initialize(java.util.Properties configProperties)
The initialize method is called by the application server runtime during server startup.
  1. void
shutdown()
The shutdown method is called by the application server runtime when the server begins its shutdown processing.

Field Detail

externalConfigURLKey

  1. static final java.lang.String externalConfigURLKey
See Also:

Method Detail

initialize

  1. void initialize(java.util.Properties configProperties)
  2. 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 - the configuration properties for initialization
Throws:
java.lang.Exception - if an exception occurs during initialization

shutdown

  1. void shutdown()
  2. throws java.lang.Exception
The shutdown method is called by the application server runtime when the server begins its shutdown processing.
Throws:
java.lang.Exception - if an exception occurs during shutdown