|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.easybeans.deployable.DeployerFactory
public final class DeployerFactory
Allow to get a deployer. When EasyBeans is integrated into JOnAS, it will return a JOnASDeployer, for EasyBeans in standalone mode an EasyBeansDeployer, etc.
Field Summary | |
---|---|
private static java.lang.String |
className
Name of the class to use for the deployer. |
private static java.lang.String |
DEFAULT_DEPLOYER
Default deployer. |
static java.lang.String |
DEPLOYER_FACTORY_CLASS_NAME
Name of the property thats defines the deployer's class. |
private static JLog |
logger
Logger. |
Constructor Summary | |
---|---|
private |
DeployerFactory()
Utility class, no public constructor. |
Method Summary | |
---|---|
static EZBDeployer |
getDeployer(EZBServer embedded)
Gets a deployer depending of the property or the class that has been registered. |
static void |
setClassName(java.lang.String classNameStr)
Set the name of the deployer class to use. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String DEPLOYER_FACTORY_CLASS_NAME
private static final java.lang.String DEFAULT_DEPLOYER
private static JLog logger
private static java.lang.String className
Constructor Detail |
---|
private DeployerFactory()
Method Detail |
---|
public static EZBDeployer getDeployer(EZBServer embedded) throws EZBDeployerException
embedded
- the instance of the server.
EZBDeployerException
- if the deployer cannot be returned.public static void setClassName(java.lang.String classNameStr)
classNameStr
- the name of the class to use.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |