org.codehaus.cargo.container.internal
Interface SpawnedContainer

All Known Subinterfaces:
InstalledLocalContainer
All Known Implementing Classes:
AbstractInstalledLocalContainer

public interface SpawnedContainer

All methods that a container that is spawned must implement.

Version:
$Id: SpawnedContainer.java 1866 2009-02-09 22:33:16Z adriancole $

Method Summary
 void addExtraClasspath(java.lang.String location)
           
 void addSharedClasspath(java.lang.String location)
           
 java.lang.String[] getExtraClasspath()
           
 java.lang.String[] getSharedClasspath()
           
 java.util.Map getSystemProperties()
           
 void setExtraClasspath(java.lang.String[] classpath)
           
 void setSharedClasspath(java.lang.String[] classpath)
           
 void setSystemProperties(java.util.Map properties)
           
 

Method Detail

setExtraClasspath

void setExtraClasspath(java.lang.String[] classpath)
Parameters:
classpath - the extra classpath that is added to the container's classpath when it is started.

addExtraClasspath

void addExtraClasspath(java.lang.String location)
Parameters:
location - the extra classpath that is added to the container's classpath when it is started.

getExtraClasspath

java.lang.String[] getExtraClasspath()
Returns:
the extra classpath that is added to the container's classpath when it is started.

setSharedClasspath

void setSharedClasspath(java.lang.String[] classpath)
Parameters:
classpath - the shared classpath that is shared by the container applications.

addSharedClasspath

void addSharedClasspath(java.lang.String location)
Parameters:
location - the shared classpath that is added to the container's classpath when it is started.

getSharedClasspath

java.lang.String[] getSharedClasspath()
Returns:
the extra classpath that is shared by the container applications.

setSystemProperties

void setSystemProperties(java.util.Map properties)
Parameters:
properties - the System properties to set in the container executing VM.

getSystemProperties

java.util.Map getSystemProperties()
Returns:
the System properties to set in the container executing VM.


Copyright © 2004-2011 Codehaus. All Rights Reserved.