com.googlecode.jeeunit.glassfish
Class EmbeddedGlassfishLauncher

java.lang.Object
  extended by com.googlecode.jeeunit.glassfish.EmbeddedGlassfishLauncher
All Implemented Interfaces:
ContainerLauncher

public class EmbeddedGlassfishLauncher
extends Object
implements ContainerLauncher

Implementation of the ContainerLauncher service provider interface for Embedded Glassfish 3.1.

All API calls are simply delegated to the GlassfishContainer singleton. This is due to the fact that SPI implementations need to have a public no-arg constructor.

Author:
hwellmann

Constructor Summary
EmbeddedGlassfishLauncher()
           
 
Method Summary
 void addMetadata(File file)
           
 URI autodeploy()
           
 URI getContextRootUri()
           
 void launch()
           
 void setClasspathFilter(FileFilter filter)
           
 void shutdown()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmbeddedGlassfishLauncher

public EmbeddedGlassfishLauncher()
Method Detail

launch

public void launch()
Specified by:
launch in interface ContainerLauncher

shutdown

public void shutdown()
Specified by:
shutdown in interface ContainerLauncher

autodeploy

public URI autodeploy()
Specified by:
autodeploy in interface ContainerLauncher

setClasspathFilter

public void setClasspathFilter(FileFilter filter)
Specified by:
setClasspathFilter in interface ContainerLauncher

addMetadata

public void addMetadata(File file)
Specified by:
addMetadata in interface ContainerLauncher

getContextRootUri

public URI getContextRootUri()
Specified by:
getContextRootUri in interface ContainerLauncher


Copyright © 2010-2011. All Rights Reserved.