org.glassfish.kernel.embedded
Class EmbeddedDomainPersistence
java.lang.Object
com.sun.enterprise.v3.server.DomainXmlPersistence
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
|
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EmbeddedDomainPersistence
public EmbeddedDomainPersistence()
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.