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

      Fields 
      Modifier and Type Field and Description
      static java.lang.String externalConfigURLKey 
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      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 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.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

        void shutdown()
                      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
IBM WebSphere Application ServerTM
Release 8.5