|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.deployment.spi.factories.DeploymentFactoryImpl
public class DeploymentFactoryImpl
The DeploymentFactory interface is a deployment driver for a J2EE plaform product. It returns a DeploymentManager object which represents a connection to a specific J2EE platform product. Each application server vendor must provide an implementation of this class in order for the J2EE Deployment API to work with their product. The class implementing this interface should have a public no-argument constructor, and it should be stateless (two instances of the class should always behave the same). It is suggested but not required that the class have a static initializer that registers an instance of the class with the DeploymentFactoryManager class. A connected or disconnected DeploymentManager can be requested. A DeploymentManager that runs connected to the platform can provide access to J2EE resources. A DeploymentManager that runs disconnected only provides module deployment configuration support.
Constructor Summary | |
---|---|
DeploymentFactoryImpl()
|
Method Summary | |
---|---|
javax.enterprise.deploy.spi.DeploymentManager |
getDeploymentManager(String uri,
String userName,
String password)
Get a connected deployment manager |
javax.enterprise.deploy.spi.DeploymentManager |
getDisconnectedDeploymentManager(String uri)
Get a disconnected version of the deployment manager |
String |
getDisplayName()
The name of the JBoss DeploymentFactory. |
String |
getProductVersion()
The version of the deployment manager |
boolean |
handlesURI(String uri)
Look for jboss-deployer:.... |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DeploymentFactoryImpl()
Method Detail |
---|
public boolean handlesURI(String uri)
handlesURI
in interface javax.enterprise.deploy.spi.factories.DeploymentFactory
uri
- the uri
public javax.enterprise.deploy.spi.DeploymentManager getDeploymentManager(String uri, String userName, String password) throws javax.enterprise.deploy.spi.exceptions.DeploymentManagerCreationException
getDeploymentManager
in interface javax.enterprise.deploy.spi.factories.DeploymentFactory
uri
- the uri of the deployment manageruserName
- the user namepassword
- the password
javax.enterprise.deploy.spi.exceptions.DeploymentManagerCreationException
public javax.enterprise.deploy.spi.DeploymentManager getDisconnectedDeploymentManager(String uri) throws javax.enterprise.deploy.spi.exceptions.DeploymentManagerCreationException
getDisconnectedDeploymentManager
in interface javax.enterprise.deploy.spi.factories.DeploymentFactory
uri
- the uri to connect to
javax.enterprise.deploy.spi.exceptions.DeploymentManagerCreationException
public String getDisplayName()
getDisplayName
in interface javax.enterprise.deploy.spi.factories.DeploymentFactory
public String getProductVersion()
getProductVersion
in interface javax.enterprise.deploy.spi.factories.DeploymentFactory
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |