org.jboss.kernel.plugins.deployment.xml
Class BeanXMLDeployer
java.lang.Object
org.jboss.kernel.plugins.deployment.AbstractKernelDeployer
org.jboss.kernel.plugins.deployment.xml.BeanXMLDeployer
public class BeanXMLDeployer
- extends AbstractKernelDeployer
An XML deployer.
- Version:
- $Revision: 57133 $
- Author:
- Adrian Brock, Les A. Hazlewood, Marc Fleury
Methods inherited from class org.jboss.kernel.plugins.deployment.AbstractKernelDeployer |
change, changeBean, changeBeans, deploy, deployBean, deployBeans, internalValidate, undeploy, undeployBean, undeployBeans, validate, validate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BeanXMLDeployer
public BeanXMLDeployer(Kernel kernel)
throws Throwable
- Create a new XML kernel deployer
- Parameters:
kernel
- the kernel
- Throws:
Throwable
- for any error
deploy
public KernelDeployment deploy(URL url)
throws Throwable
- Deploy a url
- Parameters:
url
- the url to deploy
- Returns:
- the kernel deployment
- Throws:
Throwable
- for any error
deploy
public KernelDeployment deploy(String deploymentName,
InputStream stream)
throws Throwable
- Deploy a stream. We may be deploying XML fragments.
- Parameters:
deploymentName
- the deployment namestream
- the stream
- Returns:
- the kernel deployment
- Throws:
Throwable
- for any error
Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.