org.objectweb.easybeans.deployer
Interface IDeployer

All Known Implementing Classes:
Deployer

public interface IDeployer

Interface allowing to deploys some files to this EJB3 container.

Author:
Florent Benoit

Method Summary
 void deployEar(java.lang.String fileName)
          Deploy an application packaged in a EAR file.
 void deployEjbJar(java.lang.String fileName)
          Deploy an EJB packaged in a JAR file.
 java.lang.String deployFile(java.lang.Integer typeparam, java.lang.Byte[] bfile, java.lang.String filename)
          Deploy a file on the EJB3 container.
 

Method Detail

deployFile

java.lang.String deployFile(java.lang.Integer typeparam,
                            java.lang.Byte[] bfile,
                            java.lang.String filename)
Deploy a file on the EJB3 container.

Parameters:
typeparam - type of the file (EJB, WAR, EAR, RAR, CAR) (ModuleType of JSR88)
bfile - bytes array of the file
filename - basename of the file to be deployed
Returns:
the path of the deployed file

deployEar

void deployEar(java.lang.String fileName)
Deploy an application packaged in a EAR file.

Parameters:
fileName - the name of the file to deploy

deployEjbJar

void deployEjbJar(java.lang.String fileName)
Deploy an EJB packaged in a JAR file.

Parameters:
fileName - the name of the file to deploy