org.apache.geronimo.deployment.service
Class ServiceConfigBuilder
java.lang.Object
org.apache.geronimo.deployment.service.ServiceConfigBuilder
- All Implemented Interfaces:
- ConfigurationBuilder
- public class ServiceConfigBuilder
- extends Object
- implements ConfigurationBuilder
- Version:
- $Revision: 1.16 $ $Date: 2004/07/22 03:22:53 $
Field Summary |
static org.apache.geronimo.gbean.GBeanInfo |
GBEAN_INFO
|
Constructor Summary |
ServiceConfigBuilder(org.apache.geronimo.kernel.repository.Repository repository)
|
ServiceConfigBuilder(org.apache.geronimo.kernel.repository.Repository repository,
org.apache.geronimo.kernel.Kernel kernel)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GBEAN_INFO
public static final org.apache.geronimo.gbean.GBeanInfo GBEAN_INFO
ServiceConfigBuilder
public ServiceConfigBuilder(org.apache.geronimo.kernel.repository.Repository repository)
ServiceConfigBuilder
public ServiceConfigBuilder(org.apache.geronimo.kernel.repository.Repository repository,
org.apache.geronimo.kernel.Kernel kernel)
getTypeLoaders
public org.apache.xmlbeans.SchemaTypeLoader[] getTypeLoaders()
- Specified by:
getTypeLoaders
in interface ConfigurationBuilder
canConfigure
public boolean canConfigure(org.apache.xmlbeans.XmlObject plan)
- Description copied from interface:
ConfigurationBuilder
- Determine if this builder can handle the supplied plan.
- Specified by:
canConfigure
in interface ConfigurationBuilder
- Parameters:
plan
- the plan to examine
- Returns:
- true if this builder will handle it
getDeploymentPlan
public org.apache.xmlbeans.XmlObject getDeploymentPlan(URL module)
- Description copied from interface:
ConfigurationBuilder
- Extract the deployment plan from a module if this builder can
process it.
- Specified by:
getDeploymentPlan
in interface ConfigurationBuilder
- Parameters:
module
- the URL of the module to examine
- Returns:
- the deployment plan, or null if this module can not handle it
buildConfiguration
public void buildConfiguration(File outfile,
Manifest manifest,
File module,
org.apache.xmlbeans.XmlObject plan)
throws IOException,
DeploymentException
- Description copied from interface:
ConfigurationBuilder
- Build a configuration from a local file
- Specified by:
buildConfiguration
in interface ConfigurationBuilder
- Parameters:
outfile
- the file to write the configuration tomodule
- the module to buildplan
- the deployment plan
- Throws:
DeploymentException
- if there was a problem with the configuration
IOException
- if there was a problem reading or writing the files
buildConfiguration
public void buildConfiguration(File outfile,
Manifest manifest,
InputStream ignored,
org.apache.xmlbeans.XmlObject plan)
throws IOException,
DeploymentException
- Description copied from interface:
ConfigurationBuilder
- Build a configuration from an arbitrary input stream
- Specified by:
buildConfiguration
in interface ConfigurationBuilder
- Parameters:
outfile
- the file to write the configuration toignored
- the module to buildplan
- the deployment plan
- Throws:
DeploymentException
- if there was a problem with the configuration
IOException
- if there was a problem reading or writing the files
buildConfiguration
public void buildConfiguration(JarOutputStream os,
org.apache.xmlbeans.XmlObject plan)
throws DeploymentException,
IOException
- Throws:
DeploymentException
IOException
getGBeanInfo
public static org.apache.geronimo.gbean.GBeanInfo getGBeanInfo()
Copyright © 2003-2005 Apache Software Foundation. All Rights Reserved.