|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.types.DataType
org.apache.cactus.integration.ant.ContainerSet
Ant data type that represents a set of J2EE containers.
Constructor Summary | |
ContainerSet()
|
Method Summary | |
void |
addGeneric(GenericContainer theContainer)
Adds a nested generic container to the set of containers. |
java.lang.Object |
createDynamicElement(java.lang.String theName)
|
Container[] |
getContainers()
Returns an iterator over the nested container elements, in the order they appear in the build file. |
int |
getProxyPort()
Returns the proxy port, or -1 if no proxy port has been set. |
long |
getTimeout()
Returns the timeout after which connecting to a container will be given up, or -1 if no timeout has been set. |
void |
setDynamicAttribute(java.lang.String theName,
java.lang.String theValue)
|
void |
setProxyPort(int theProxyPort)
Sets the proxy port which will be used by the test caller instead of the real container port. |
void |
setTimeout(long theTimeout)
Sets the timeout after which connecting to a container will be given up. |
Methods inherited from class org.apache.tools.ant.types.DataType |
getDescription, isReference, setDescription, setRefid |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
getProject, log, log, setProject |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ContainerSet()
Method Detail |
public final java.lang.Object createDynamicElement(java.lang.String theName) throws org.apache.tools.ant.BuildException
createDynamicElement
in interface org.apache.tools.ant.DynamicConfigurator
org.apache.tools.ant.BuildException
DynamicConfigurator.createDynamicElement(java.lang.String)
public final void setDynamicAttribute(java.lang.String theName, java.lang.String theValue) throws org.apache.tools.ant.BuildException
setDynamicAttribute
in interface org.apache.tools.ant.DynamicConfigurator
org.apache.tools.ant.BuildException
DynamicConfigurator.setDynamicAttribute(java.lang.String, java.lang.String)
public final void addGeneric(GenericContainer theContainer)
theContainer
- The generic container element to addpublic final Container[] getContainers()
public final long getTimeout()
-1
if no timeout has been set.
public final void setTimeout(long theTimeout)
theTimeout
- The timeout in millisecondspublic final int getProxyPort()
-1
if no proxy port has been set.
public final void setProxyPort(int theProxyPort)
theProxyPort
- The proxy port to set
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |