| org.apache.cactus.integration.ant.ContainerSet
ContainerSet | public class ContainerSet extends DataType implements DynamicConfigurator(Code) | | Ant data type that represents a set of J2EE containers.
version: $Id: ContainerSet.java 238810 2004-02-29 10:05:26Z vmassol $ |
Method Summary | |
final public void | addGeneric(GenericContainer theContainer) Adds a nested generic container to the set of containers. | final public Object | createDynamicElement(String theName) | final public Container[] | getContainers() Returns an iterator over the nested container elements, in the order
they appear in the build file. | final public int | getProxyPort() Returns the proxy port, or -1 if no proxy port has been set. | final public long | getTimeout() Returns the timeout after which connecting to a container will be
given up, or -1 if no timeout has been set. | final public void | setDynamicAttribute(String theName, String theValue) | final public void | setProxyPort(int theProxyPort) Sets the proxy port which will be used by the test caller instead
of the real container port. | final public void | setTimeout(long theTimeout) Sets the timeout after which connecting to a container will be given
up. |
addGeneric | final public void addGeneric(GenericContainer theContainer)(Code) | | Adds a nested generic container to the set of containers.
Parameters: theContainer - The generic container element to add |
createDynamicElement | final public Object createDynamicElement(String theName) throws BuildException(Code) | | See Also: org.apache.tools.ant.DynamicConfigurator.createDynamicElement |
getContainers | final public Container[] getContainers()(Code) | | Returns an iterator over the nested container elements, in the order
they appear in the build file.
An iterator over the nested container elements |
getProxyPort | final public int getProxyPort()(Code) | | Returns the proxy port, or -1 if no proxy port has been set.
The proxy port |
getTimeout | final public long getTimeout()(Code) | | Returns the timeout after which connecting to a container will be
given up, or -1 if no timeout has been set.
The timeout in milliseconds |
setDynamicAttribute | final public void setDynamicAttribute(String theName, String theValue) throws BuildException(Code) | | See Also: org.apache.tools.ant.DynamicConfigurator.setDynamicAttribute |
setProxyPort | final public void setProxyPort(int theProxyPort)(Code) | | Sets the proxy port which will be used by the test caller instead
of the real container port. This can be used to insert protocol
tracers between the test caller and the container.
Parameters: theProxyPort - The proxy port to set |
setTimeout | final public void setTimeout(long theTimeout)(Code) | | Sets the timeout after which connecting to a container will be given
up.
Parameters: theTimeout - The timeout in milliseconds |
|
|