com.ibm.websphere.runtime
Interface CustomService
-
public interface CustomServiceThe 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
Fields Modifier and Type Field and Description static java.lang.StringexternalConfigURLKey
-
Method Summary
Methods Modifier and Type Method and Description voidinitialize(java.util.Properties configProperties)The initialize method is called by the application server runtime during server startup.voidshutdown()The shutdown method is called by the application server runtime when the server begins its shutdown processing.
-
-
-
Field Detail
-
externalConfigURLKey
static final java.lang.String externalConfigURLKey
- See Also:
- Constant Field Values
-
-
Method Detail
-
initialize
void initialize(java.util.Properties configProperties) throws java.lang.ExceptionThe 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
void shutdown() throws java.lang.ExceptionThe 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
-
-