com.ibm.websphere.xmlconfig
Class GenericServerConfig

java.lang.Object
  |
  +--com.ibm.websphere.xmlconfig.BaseConfig
        |
        +--com.ibm.websphere.xmlconfig.GenericServerConfig
Direct Known Subclasses:
ApplicationServerConfig

public class GenericServerConfig
extends BaseConfig

Processes XML for GenericServer Objects
XML Structure, including immediate children

<generic-server name="(name)" action="(create|update|locate|delete|export)"> <executable>(value)</executable> <command-line-arguments> <arg>(value)</arg> <arg>(value)</arg> </command-line-arguments> <environment> <entry>(value)</entry> <entry>(value)</entry> </environment> <user-id>(value)</user-id> <group-id>(value)</group-id> <working-directory>(value)</working-directory> <umask>(value)</umask> <stdin>(value)</stdin> <stdout>(value)</stdout> <stderr>(value)</stderr> <process-priority>(value)</process-priority> <maximum-startup-attempts>(value)</maximum-startup-attempts> <ping-interval>(value)</ping-interval> <ping-timeout>(value)</ping-timeout> <ping-initial-timeout>(value)</ping-initial-timeout> <selection-policy>(value)</selection-policy> //no children </generic-server>


Constructor Summary
GenericServerConfig()
           
 
Method Summary
 org.w3c.dom.Element exportXML(org.w3c.dom.Element element, com.ibm.ejs.sm.beans.Node parent, org.w3c.dom.Document document)
           
 org.w3c.dom.Element exportXML(com.ibm.ejs.sm.beans.Server genericServer, com.ibm.ejs.sm.beans.RepositoryObject parent, org.w3c.dom.Document document)
           
 java.util.Enumeration findAll()
           
 void importXML(org.w3c.dom.Element element, com.ibm.ejs.sm.beans.Node parent)
           
 com.ibm.ejs.sm.beans.Server locate(java.lang.String name, com.ibm.ejs.sm.beans.Node parent)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericServerConfig

public GenericServerConfig()
Method Detail

locate

public com.ibm.ejs.sm.beans.Server locate(java.lang.String name,
                                          com.ibm.ejs.sm.beans.Node parent)

findAll

public java.util.Enumeration findAll()

importXML

public void importXML(org.w3c.dom.Element element,
                      com.ibm.ejs.sm.beans.Node parent)

exportXML

public org.w3c.dom.Element exportXML(com.ibm.ejs.sm.beans.Server genericServer,
                                     com.ibm.ejs.sm.beans.RepositoryObject parent,
                                     org.w3c.dom.Document document)

exportXML

public org.w3c.dom.Element exportXML(org.w3c.dom.Element element,
                                     com.ibm.ejs.sm.beans.Node parent,
                                     org.w3c.dom.Document document)