org.apache.geronimo.deployment
Class DeploymentContext
java.lang.Object
org.apache.geronimo.deployment.DeploymentContext
- public class DeploymentContext
- extends Object
- Version:
- $Revision: 1.16 $ $Date: 2004/08/04 07:20:49 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DeploymentContext
public DeploymentContext(JarOutputStream jos,
URI id,
org.apache.geronimo.kernel.config.ConfigurationModuleType type,
URI parentID,
org.apache.geronimo.kernel.Kernel kernel)
throws javax.management.MalformedObjectNameException,
DeploymentException
getConfigID
public URI getConfigID()
getType
public org.apache.geronimo.kernel.config.ConfigurationModuleType getType()
addGBean
public void addGBean(javax.management.ObjectName name,
org.apache.geronimo.gbean.jmx.GBeanMBean gbean)
addDependency
public void addDependency(URI uri)
addInclude
public void addInclude(URI path,
URL url)
throws IOException
- Throws:
IOException
addStreamInclude
public File addStreamInclude(URI path,
InputStream is)
throws IOException
- Throws:
IOException
addArchive
public void addArchive(URI path,
ZipInputStream archive)
throws IOException
- Throws:
IOException
addToClassPath
public void addToClassPath(URI path,
URL url)
getClassLoader
public ClassLoader getClassLoader(org.apache.geronimo.kernel.repository.Repository repository)
throws DeploymentException
- Throws:
DeploymentException
nest
public void nest(URI path)
throws IOException
- Throws:
IOException
unnest
public void unnest()
throws IOException
- Throws:
IOException
addFile
public void addFile(URI path,
File source)
throws IOException
- Throws:
IOException
addFile
public void addFile(URI path,
InputStream source)
throws IOException
- Throws:
IOException
close
public void close()
throws IOException,
DeploymentException
- Throws:
IOException
DeploymentException
Copyright © 2003-2005 Apache Software Foundation. All Rights Reserved.