| |
|
| java.lang.Object org.ow2.easybeans.deployer.RemoteDeployer
RemoteDeployer | final public class RemoteDeployer implements IRemoteDeployer(Code) | | Deployer allowing deploy/undeploy functions on this container.
author: Florent Benoit |
Method Summary | |
public void | deploy(String fileName) Deploy a file to a local deployer. | public void | deployFile(String fileName, byte[] fileContent) Dump the given bytes to a local file and then deploy this file to a local deployer. | public String | dumpFile(String fileName, byte[] fileContent) Dump the given bytes to a local file and then return the path to this
file. | protected IDeployable | getDeployable(String fileName) Gets a deployable for a given file. | public void | undeploy(String fileName) Undeploy a file by using a local deployer. |
RemoteDeployer | public RemoteDeployer(EZBServer embedded) throws DeployerException(Code) | | Build a Deployer for the given Embedded instance.
Parameters: embedded - the Server instance. throws: DeployerException - if the local deployer can't be accessed. |
deploy | public void deploy(String fileName)(Code) | | Deploy a file to a local deployer.
Parameters: fileName - the name of the file to deploy |
deployFile | public void deployFile(String fileName, byte[] fileContent)(Code) | | Dump the given bytes to a local file and then deploy this file to a local deployer.
Parameters: fileName - the name of the file to deploy Parameters: fileContent - the content of the given file |
dumpFile | public String dumpFile(String fileName, byte[] fileContent)(Code) | | Dump the given bytes to a local file and then return the path to this
file.
Parameters: fileName - the name of the file to deploy Parameters: fileContent - the content of the given file the path of the deployed file |
getDeployable | protected IDeployable getDeployable(String fileName)(Code) | | Gets a deployable for a given file.
Parameters: fileName - the name of the file a deployable for the given filename |
undeploy | public void undeploy(String fileName)(Code) | | Undeploy a file by using a local deployer.
Parameters: fileName - the name of the file to undeploy |
|
|
|