Interface SpawnedContainer
-
- All Known Subinterfaces:
InstalledLocalContainer,JBoss5xInstalledLocalContainer,JBossInstalledLocalContainer
- All Known Implementing Classes:
AbstractCatalinaInstalledLocalContainer,AbstractGlassFishInstalledLocalContainer,AbstractInstalledLocalContainer,AbstractJBoss5xInstalledLocalContainer,AbstractJBossInstalledLocalContainer,AbstractJonasInstalledLocalContainer,AbstractJRunInstalledLocalContainer,AbstractOc4j10xInstalledLocalContainer,AbstractOrionInstalledLocalContainer,AbstractResinInstalledLocalContainer,AbstractWebLogicInstalledLocalContainer,AbstractWildFlyInstalledLocalContainer,AbstractWildFlySwarmInstalledLocalContainer,Geronimo1xInstalledLocalContainer,Geronimo2xInstalledLocalContainer,Geronimo3xInstalledLocalContainer,GlassFish2xInstalledLocalContainer,GlassFish3xInstalledLocalContainer,GlassFish4xInstalledLocalContainer,GlassFish5xInstalledLocalContainer,GlassFish6xInstalledLocalContainer,GlassFish7xInstalledLocalContainer,GlassFish8xInstalledLocalContainer,JBoss3xInstalledLocalContainer,JBoss42xInstalledLocalContainer,JBoss4xInstalledLocalContainer,JBoss51xInstalledLocalContainer,JBoss5xInstalledLocalContainer,JBoss61xInstalledLocalContainer,JBoss6xInstalledLocalContainer,JBoss71xInstalledLocalContainer,JBoss72xInstalledLocalContainer,JBoss73xInstalledLocalContainer,JBoss74xInstalledLocalContainer,JBoss75xInstalledLocalContainer,JBoss7xInstalledLocalContainer,Jetty10xInstalledLocalContainer,Jetty11xInstalledLocalContainer,Jetty12xInstalledLocalContainer,Jetty6xInstalledLocalContainer,Jetty7xInstalledLocalContainer,Jetty8xInstalledLocalContainer,Jetty9xInstalledLocalContainer,Jo1xInstalledLocalContainer,Jonas4xInstalledLocalContainer,Jonas5xInstalledLocalContainer,JRun4xInstalledLocalContainer,LibertyInstalledLocalContainer,Oc4j10xInstalledLocalContainer,Oc4j9xInstalledLocalContainer,PayaraInstalledLocalContainer,Resin31xInstalledLocalContainer,Resin3xInstalledLocalContainer,Resin4xInstalledLocalContainer,Tomcat10xInstalledLocalContainer,Tomcat11xInstalledLocalContainer,Tomcat4xInstalledLocalContainer,Tomcat5xInstalledLocalContainer,Tomcat6xInstalledLocalContainer,Tomcat7xInstalledLocalContainer,Tomcat8xInstalledLocalContainer,Tomcat9xInstalledLocalContainer,Tomee10xInstalledLocalContainer,Tomee1xInstalledLocalContainer,Tomee7xInstalledLocalContainer,Tomee8xInstalledLocalContainer,Tomee9xInstalledLocalContainer,WebLogic103xInstalledLocalContainer,WebLogic10xInstalledLocalContainer,WebLogic121xInstalledLocalContainer,WebLogic122xInstalledLocalContainer,WebLogic12xInstalledLocalContainer,WebLogic14xInstalledLocalContainer,WebLogic8xInstalledLocalContainer,WebLogic9xInstalledLocalContainer,WebSphere85xInstalledLocalContainer,WebSphere9xInstalledLocalContainer,WildFly10xInstalledLocalContainer,WildFly11xInstalledLocalContainer,WildFly12xInstalledLocalContainer,WildFly13xInstalledLocalContainer,WildFly14xInstalledLocalContainer,WildFly15xInstalledLocalContainer,WildFly16xInstalledLocalContainer,WildFly17xInstalledLocalContainer,WildFly18xInstalledLocalContainer,WildFly19xInstalledLocalContainer,WildFly20xInstalledLocalContainer,WildFly21xInstalledLocalContainer,WildFly22xInstalledLocalContainer,WildFly23xInstalledLocalContainer,WildFly24xInstalledLocalContainer,WildFly25xInstalledLocalContainer,WildFly26xInstalledLocalContainer,WildFly27xInstalledLocalContainer,WildFly28xInstalledLocalContainer,WildFly29xInstalledLocalContainer,WildFly30xInstalledLocalContainer,WildFly31xInstalledLocalContainer,WildFly32xInstalledLocalContainer,WildFly33xInstalledLocalContainer,WildFly34xInstalledLocalContainer,WildFly35xInstalledLocalContainer,WildFly36xInstalledLocalContainer,WildFly37xInstalledLocalContainer,WildFly38xInstalledLocalContainer,WildFly8xInstalledLocalContainer,WildFly9xInstalledLocalContainer,WildFlySwarm2017xInstalledLocalContainer
public interface SpawnedContainerAll methods that a container that is spawned must implement.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddExtraClasspath(String location)voidaddSharedClasspath(String location)String[]getExtraClasspath()JvmLauncherFactorygetJvmLauncherFactory()Gets the factory used to spawn the container JVM.String[]getSharedClasspath()Map<String,String>getSystemProperties()voidsetExtraClasspath(String[] classpath)voidsetJvmLauncherFactory(JvmLauncherFactory jvmLauncherFactory)Sets the factory used to spawn the container JVM.voidsetSharedClasspath(String[] classpath)voidsetSystemProperties(Map<String,String> properties)
-
-
-
Method Detail
-
setExtraClasspath
void setExtraClasspath(String[] classpath)
- Parameters:
classpath- the extra classpath that is added to the container's classpath when it is started.
-
addExtraClasspath
void addExtraClasspath(String location)
- Parameters:
location- the extra classpath that is added to the container's classpath when it is started.
-
getExtraClasspath
String[] getExtraClasspath()
- Returns:
- the extra classpath that is added to the container's classpath when it is started.
-
setSharedClasspath
void setSharedClasspath(String[] classpath)
- Parameters:
classpath- the shared classpath that is shared by the container applications.
-
addSharedClasspath
void addSharedClasspath(String location)
- Parameters:
location- the shared classpath that is added to the container's classpath when it is started.
-
getSharedClasspath
String[] getSharedClasspath()
- Returns:
- the extra classpath that is shared by the container applications.
-
setSystemProperties
void setSystemProperties(Map<String,String> properties)
- Parameters:
properties- the System properties to set in the container executing VM.
-
getSystemProperties
Map<String,String> getSystemProperties()
- Returns:
- the System properties to set in the container executing VM.
-
setJvmLauncherFactory
void setJvmLauncherFactory(JvmLauncherFactory jvmLauncherFactory)
Sets the factory used to spawn the container JVM.- Parameters:
jvmLauncherFactory- The factory used to spawn the container JVM, must not benull.
-
getJvmLauncherFactory
JvmLauncherFactory getJvmLauncherFactory()
Gets the factory used to spawn the container JVM.- Returns:
- The factory used to spawn the container JVM, never
null.
-
-