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,v 1.3 2003/06/11 16:17:26 cmlenz Exp $
Author:
Christopher Lenz

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-2003 Apache Software Foundation. All Rights Reserved.