org.glassfish.fighterfish.test.util
Class EnterpriseResourceProvisioner
java.lang.Object
org.glassfish.fighterfish.test.util.EnterpriseResourceProvisioner
public class EnterpriseResourceProvisioner
- extends Object
- Author:
- Sanjeeb.Sahoo@Sun.COM
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_DS
public static final String DEFAULT_DS
- See Also:
- Constant Field Values
DEFAULT_POOL
public static final String DEFAULT_POOL
- See Also:
- Constant Field Values
derbyRootDir
public static final File derbyRootDir
rdcs
protected List<RestorableDomainConfiguration> rdcs
- List of config changes made by a test method
EnterpriseResourceProvisioner
public EnterpriseResourceProvisioner()
getDerbyDBRootDir
public static File getDerbyDBRootDir()
restoreDomainConfiguration
protected void restoreDomainConfiguration()
throws org.glassfish.embeddable.GlassFishException
- Throws:
org.glassfish.embeddable.GlassFishException
configureEmbeddedDerby
protected RestorableDomainConfiguration configureEmbeddedDerby(org.glassfish.embeddable.GlassFish gf,
String poolName,
File db)
throws org.glassfish.embeddable.GlassFishException
- Configures jdbc/__default datasource to use a custom pool that uses embedded derby.
- Throws:
org.glassfish.embeddable.GlassFishException
createJmsCF
protected RestorableDomainConfiguration createJmsCF(org.glassfish.embeddable.GlassFish gf,
String cfName)
throws org.glassfish.embeddable.GlassFishException
- Throws:
org.glassfish.embeddable.GlassFishException
createJmsTopic
protected RestorableDomainConfiguration createJmsTopic(org.glassfish.embeddable.GlassFish gf,
String topicName)
throws org.glassfish.embeddable.GlassFishException
- Throws:
org.glassfish.embeddable.GlassFishException
createJmsQueue
protected RestorableDomainConfiguration createJmsQueue(org.glassfish.embeddable.GlassFish gf,
String topicName)
throws org.glassfish.embeddable.GlassFishException
- Throws:
org.glassfish.embeddable.GlassFishException
Copyright © 2011. All Rights Reserved.