com.googlecode.jeeunit.glassfish
Class EmbeddedGlassfishContainer

java.lang.Object
  extended by com.googlecode.jeeunit.glassfish.EmbeddedGlassfishContainer

public class EmbeddedGlassfishContainer
extends Object

Singleton implementing the ContainerLauncher functionality for Embedded Glassfish.

Author:
hwellmann

Method Summary
 void addMetadata(File file)
           
 URI autodeploy()
           
protected  String getApplicationName()
           
protected  File getConfiguration()
           
protected  String getContextRoot()
           
 URI getContextRootUri()
           
static EmbeddedGlassfishContainer getInstance()
           
 void launch()
           
protected  void setApplicationName(String applicationName)
          Sets the Java EE application name.
 void setClasspathFilter(FileFilter classpathFilter)
           
protected  void setConfiguration(File configuration)
          Sets the configuration file for the embedded server.
protected  void setContextRoot(String contextRoot)
          Sets the context root for the deployed test application.
 void shutdown()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static EmbeddedGlassfishContainer getInstance()

getApplicationName

protected String getApplicationName()

setApplicationName

protected void setApplicationName(String applicationName)
Sets the Java EE application name.

Parameters:
applicationName -

getContextRoot

protected String getContextRoot()

setContextRoot

protected void setContextRoot(String contextRoot)
Sets the context root for the deployed test application.

Parameters:
contextRoot -

getConfiguration

protected File getConfiguration()

setConfiguration

protected void setConfiguration(File configuration)
Sets the configuration file for the embedded server.

Parameters:
configuration -

setClasspathFilter

public void setClasspathFilter(FileFilter classpathFilter)

launch

public void launch()

shutdown

public void shutdown()

autodeploy

public URI autodeploy()

getContextRootUri

public URI getContextRootUri()

addMetadata

public void addMetadata(File file)


Copyright © 2010-2011. All Rights Reserved.