com.ibm.websphere.webcontainer

Interface GeneratePluginConfigMBean



  • public interface GeneratePluginConfigMBean
    Management interface for the MBean "WebSphere:name=com.ibm.ws.jmx.mbeans.generatePluginConfig". The Liberty profile makes this MBean available in its platform MBean server to allow users to generate a plugin-cfg.xml file which can be used to configure a web server plug-in that forwards HTTP requests for dynamic resources to the Liberty profile. This interface can be used to request a proxy object via the JMX.newMBeanProxy(javax.management.MBeanServerConnection, javax.management.ObjectName, java.lang.Class<T>) method.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      void generateDefaultPluginConfig()
      Invokes the generateDefaultPluginConfig operation, which generates a plugin-cfg.xml file with default settings in the ${server.output.dir} directory.
      void generatePluginConfig(java.lang.String root, java.lang.String name)
      Invokes the generatePluginConfig operation with root and name parameters, which generates a customized plugin-cfg.xml file in the ${server.output.dir} directory.
    • Method Detail

      • generateDefaultPluginConfig

        void generateDefaultPluginConfig()
        Invokes the generateDefaultPluginConfig operation, which generates a plugin-cfg.xml file with default settings in the ${server.output.dir} directory.
      • generatePluginConfig

        void generatePluginConfig(java.lang.String root,
                                java.lang.String name)
        Invokes the generatePluginConfig operation with root and name parameters, which generates a customized plugin-cfg.xml file in the ${server.output.dir} directory.
        Parameters:
        root - plug-in install root directory
        name - server name