org.apache.geronimo.deployment
Class DeploymentContext

java.lang.Object
  extended byorg.apache.geronimo.deployment.DeploymentContext

public class DeploymentContext
extends Object

Version:
$Revision: 1.16 $ $Date: 2004/08/04 07:20:49 $

Constructor Summary
DeploymentContext(JarOutputStream jos, URI id, org.apache.geronimo.kernel.config.ConfigurationModuleType type, URI parentID, org.apache.geronimo.kernel.Kernel kernel)
           
 
Method Summary
 void addArchive(URI path, ZipInputStream archive)
           
 void addDependency(URI uri)
           
 void addFile(URI path, File source)
           
 void addFile(URI path, InputStream source)
           
 void addGBean(javax.management.ObjectName name, org.apache.geronimo.gbean.jmx.GBeanMBean gbean)
           
 void addInclude(URI path, URL url)
           
 File addStreamInclude(URI path, InputStream is)
           
 void addToClassPath(URI path, URL url)
           
 void close()
           
 ClassLoader getClassLoader(org.apache.geronimo.kernel.repository.Repository repository)
           
 URI getConfigID()
           
 org.apache.geronimo.kernel.config.ConfigurationModuleType getType()
           
 void nest(URI path)
           
 void unnest()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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
Method Detail

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.