com.ibm.websphere.xmlconfig
Class ApplicationServerConfig

java.lang.Object
  |
  +--com.ibm.websphere.xmlconfig.BaseConfig
        |
        +--com.ibm.websphere.xmlconfig.GenericServerConfig
              |
              +--com.ibm.websphere.xmlconfig.ApplicationServerConfig

public class ApplicationServerConfig
extends GenericServerConfig

Processes XML for Application Server Objects
XML Structure, including immediate children

<application-server name="(name)" action="(create|update|locate|delete|export)"> <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>(random|roundrobin|randompreferlocal|roundrobinpreferlocal)</selection-policy> <olt-enabled>(value)</olt-enabled> <admin-agent-ior>admin_agent_ior <admin-agent-ior> <cache-config> <cache-size> size </cache-size> <cache-sweep-interval> sweep_interval </cache-sweep-interval> <passivation-directory> pass_dir </passivation-directory> </cache-config> <log-file-spec> spec </log-file-spec> <performance-monitor-spec> spec </performance-monitor-spec> <olt-server-host> olt_server_host </olt-server-host> <olt-server-port> port </olt-server-port> <selection-policy> policy </selection-policy> <source-path> path </source-path> <thread-pool-size> pool_size </thread-pool-size> <wlm-template-ior> ior </wlm-template-ior> <trace-specification>(value)</trace-specification> <trace-output>(value)</trace-output> <transaction-log-file>(value)</transaction-log-file> <system-properties> <property name="(name)" value="(value)"/> <property name="(name)" value="(value)"/> <property name="(name)" value="(value)"/> </system-properties> <debug-enabled>(value)</debug-enabled> <transaction-timeout>(value)</transaction-timeout> <transaction-inactivity-timeout>(value)</transaction-inactivity-timeout> <thread-pool-size>(value)</thread-pool-size> <security-enabled>(value)</security-enabled> <custom-service-config-list> <custom-service-config name="service_name"/> //Other custom service configs </custom-service-config-list> <orb-config> //orb config defination </orb-config> //Children <web-container/> </application-server>


Constructor Summary
ApplicationServerConfig()
           
 
Method Summary
 org.w3c.dom.Element exportXML(com.ibm.ejs.sm.beans.EJBServer applicationServer, com.ibm.ejs.sm.beans.RepositoryObject parent, org.w3c.dom.Document document)
           
 org.w3c.dom.Element exportXML(org.w3c.dom.Element element, com.ibm.ejs.sm.beans.Node parent, org.w3c.dom.Document document)
           
 java.util.Enumeration findAll()
           
static com.ibm.ejs.sm.beans.RepositoryObject findRepositoryObject(com.ibm.ejs.sm.beans.RepositoryHome home, com.ibm.ejs.sm.beans.Attributes reqAttrs, boolean useSubtypes, java.lang.String fullName)
           
 void importXML(org.w3c.dom.Element element, com.ibm.ejs.sm.beans.Node parent)
           
 
Methods inherited from class com.ibm.websphere.xmlconfig.GenericServerConfig
exportXML, locate
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApplicationServerConfig

public ApplicationServerConfig()
Method Detail

findAll

public java.util.Enumeration findAll()
Overrides:
findAll in class GenericServerConfig

findRepositoryObject

public static com.ibm.ejs.sm.beans.RepositoryObject findRepositoryObject(com.ibm.ejs.sm.beans.RepositoryHome home,
                                                                         com.ibm.ejs.sm.beans.Attributes reqAttrs,
                                                                         boolean useSubtypes,
                                                                         java.lang.String fullName)
                                                                  throws java.lang.Exception

importXML

public void importXML(org.w3c.dom.Element element,
                      com.ibm.ejs.sm.beans.Node parent)
Overrides:
importXML in class GenericServerConfig

exportXML

public org.w3c.dom.Element exportXML(com.ibm.ejs.sm.beans.EJBServer applicationServer,
                                     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)
Overrides:
exportXML in class GenericServerConfig