org.glassfish.kernel.embedded
Class EmbeddedDomainPersistence

java.lang.Object
  extended by com.sun.enterprise.v3.server.DomainXmlPersistence
      extended by org.glassfish.kernel.embedded.EmbeddedDomainPersistence
All Implemented Interfaces:
ConfigurationAccess, ConfigurationPersistence

public class EmbeddedDomainPersistence
extends DomainXmlPersistence

Configuration file persistence handler for embedded

Author:
Jerome Dochez, bhavanishankar@dev.java.net

Field Summary
 
Fields inherited from class com.sun.enterprise.v3.server.DomainXmlPersistence
logger
 
Constructor Summary
EmbeddedDomainPersistence()
           
 
Method Summary
protected  File getDestination()
          Returns the destination file for saving the embedded configuration file, when set.
 void save(org.jvnet.hk2.config.DomDocument doc)
           
protected  void saved(File destination)
           
 
Methods inherited from class com.sun.enterprise.v3.server.DomainXmlPersistence
accessRead, accessWrite, getOutputStream, touch
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmbeddedDomainPersistence

public EmbeddedDomainPersistence()
Method Detail

getDestination

protected File getDestination()
                       throws IOException
Returns the destination file for saving the embedded configuration file, when set.

Overrides:
getDestination in class DomainXmlPersistence
Returns:
the embedded configuration file if set in read-write mode.
Throws:
IOException

save

public void save(org.jvnet.hk2.config.DomDocument doc)
          throws IOException
Specified by:
save in interface ConfigurationPersistence
Overrides:
save in class DomainXmlPersistence
Throws:
IOException

saved

protected void saved(File destination)
Overrides:
saved in class DomainXmlPersistence


Copyright © 2012. All Rights Reserved.