org.glassfish.config.support
Class DomainXml

java.lang.Object
  extended by org.glassfish.config.support.DomainXml
All Implemented Interfaces:
com.sun.enterprise.module.bootstrap.Populator

public abstract class DomainXml
extends Object
implements com.sun.enterprise.module.bootstrap.Populator

Locates and parses the portion of domain.xml that we care.

Author:
Jerome Dochez, Kohsuke Kawaguchi, Byron Nevins

Field Summary
protected  org.jvnet.hk2.component.Habitat habitat
           
 
Constructor Summary
DomainXml()
           
 
Method Summary
protected  void decorate()
           
protected  URL getDomainXml(ServerEnvironmentImpl env)
          Determines the location of domain.xml to be parsed.
protected abstract  org.jvnet.hk2.config.DomDocument getDomDocument()
           
protected  void parseDomainXml(org.jvnet.hk2.config.ConfigParser parser, URL domainXml, String serverName)
          Parses domain.xml
 void run(org.jvnet.hk2.config.ConfigParser parser)
           
protected  void upgrade()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

habitat

protected org.jvnet.hk2.component.Habitat habitat
Constructor Detail

DomainXml

public DomainXml()
Method Detail

run

public void run(org.jvnet.hk2.config.ConfigParser parser)
         throws com.sun.enterprise.module.bootstrap.BootException
Specified by:
run in interface com.sun.enterprise.module.bootstrap.Populator
Throws:
com.sun.enterprise.module.bootstrap.BootException

decorate

protected void decorate()

upgrade

protected void upgrade()

getDomainXml

protected URL getDomainXml(ServerEnvironmentImpl env)
                    throws IOException
Determines the location of domain.xml to be parsed.

Throws:
IOException

parseDomainXml

protected void parseDomainXml(org.jvnet.hk2.config.ConfigParser parser,
                              URL domainXml,
                              String serverName)
Parses domain.xml


getDomDocument

protected abstract org.jvnet.hk2.config.DomDocument getDomDocument()


Copyright © 2012 GlassFish Community. All Rights Reserved.