org.apache.openejb.assembler
Class DeployerEjb

java.lang.Object
  extended by org.apache.openejb.assembler.DeployerEjb
All Implemented Interfaces:
Deployer

@Alternative
public class DeployerEjb
extends Object
implements Deployer


Field Summary
static ThreadLocal<Boolean> AUTO_DEPLOY
           
static String OPENEJB_APP_AUTODEPLOY
           
static String OPENEJB_DEPLOYER_FORCED_APP_ID_PROP
           
static String OPENEJB_DEPLOYER_HOST
           
static String OPENEJB_PATH_BINARIES
           
static String OPENEJB_USE_BINARIES
           
static String OPENEJB_VALUE_BINARIES
           
 
Fields inherited from interface org.apache.openejb.assembler.Deployer
ALT_DD, FILENAME
 
Constructor Summary
DeployerEjb()
           
 
Method Summary
 AppInfo deploy(Properties properties)
           
 AppInfo deploy(String location)
           
 AppInfo deploy(String inLocation, Properties properties)
           
 Collection<AppInfo> getDeployedApps()
           
 String getUniqueFile()
          Returns a unique file per runtime.
 void reload(String moduleId)
           
 void undeploy(String moduleId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OPENEJB_DEPLOYER_FORCED_APP_ID_PROP

public static final String OPENEJB_DEPLOYER_FORCED_APP_ID_PROP
See Also:
Constant Field Values

OPENEJB_DEPLOYER_HOST

public static final String OPENEJB_DEPLOYER_HOST
See Also:
Constant Field Values

OPENEJB_USE_BINARIES

public static final String OPENEJB_USE_BINARIES
See Also:
Constant Field Values

OPENEJB_PATH_BINARIES

public static final String OPENEJB_PATH_BINARIES
See Also:
Constant Field Values

OPENEJB_VALUE_BINARIES

public static final String OPENEJB_VALUE_BINARIES
See Also:
Constant Field Values

OPENEJB_APP_AUTODEPLOY

public static final String OPENEJB_APP_AUTODEPLOY
See Also:
Constant Field Values

AUTO_DEPLOY

public static final ThreadLocal<Boolean> AUTO_DEPLOY
Constructor Detail

DeployerEjb

public DeployerEjb()
Method Detail

getUniqueFile

public String getUniqueFile()
Description copied from interface: Deployer
Returns a unique file per runtime. Clients can test for the existence of this file to determine if the deployer is on the local machine.

Specified by:
getUniqueFile in interface Deployer
Returns:
String - The canonical pathname

getDeployedApps

public Collection<AppInfo> getDeployedApps()
Specified by:
getDeployedApps in interface Deployer

deploy

public AppInfo deploy(String location)
               throws OpenEJBException
Specified by:
deploy in interface Deployer
Throws:
OpenEJBException

deploy

public AppInfo deploy(Properties properties)
               throws OpenEJBException
Specified by:
deploy in interface Deployer
Throws:
OpenEJBException

deploy

public AppInfo deploy(String inLocation,
                      Properties properties)
               throws OpenEJBException
Specified by:
deploy in interface Deployer
Throws:
OpenEJBException

undeploy

public void undeploy(String moduleId)
              throws UndeployException,
                     NoSuchApplicationException
Specified by:
undeploy in interface Deployer
Throws:
UndeployException
NoSuchApplicationException

reload

public void reload(String moduleId)
Specified by:
reload in interface Deployer


Copyright © 1999–2015 The Apache Software Foundation. All rights reserved.