org.apache.cactus.integration.ant.container
Class ContainerFactory

java.lang.Object
  extended byorg.apache.cactus.integration.ant.container.ContainerFactory

public class ContainerFactory
extends java.lang.Object

Factory for container support classes.

Version:
$Id: ContainerFactory.java 238810 2004-02-29 10:05:26Z vmassol $

Constructor Summary
ContainerFactory()
          Constructor.
 
Method Summary
 Container createContainer(java.lang.String theName)
          Creates and returns the implementation of the Container interface which is mapped to the specified name.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContainerFactory

public ContainerFactory()
Constructor.

Method Detail

createContainer

public final Container createContainer(java.lang.String theName)
                                throws org.apache.tools.ant.BuildException
Creates and returns the implementation of the Container interface which is mapped to the specified name.

Parameters:
theName - The name of the container
Returns:
The instantiated container
Throws:
org.apache.tools.ant.BuildException - If there was a problem creating the container


Copyright © 2000-2004 Apache Software Foundation. All Rights Reserved.