org.jboss.portal.core.deployment.jboss
Class ObjectDeployment

java.lang.Object
  extended by org.jboss.portal.server.deployment.jboss.Deployment
      extended by org.jboss.portal.core.deployment.jboss.ObjectDeployment

public class ObjectDeployment
extends Deployment

Version:
$Revision: 7380 $
Author:
Julien Viet

Field Summary
protected  ObjectDeploymentFactory factory
          The factory that created this deployment.
protected  boolean isTrace
          .
static int KEEP_IF_EXISTS
          .
protected static Logger log
          The logger.
static int OVERWRITE_IF_EXISTS
          .
protected  TransactionManager tm
          .
protected  java.util.ArrayList units
          What we have deployed.
 
Fields inherited from class org.jboss.portal.server.deployment.jboss.Deployment
mbeanServer, pwa, url
 
Constructor Summary
ObjectDeployment(java.net.URL url, javax.management.MBeanServer mbeanServer, TransactionManager tm, PortalWebApp pwa, ObjectDeploymentFactory factory)
           
 
Method Summary
protected  void doStart()
           
 ObjectDeploymentFactory getFactory()
          Return factory
 void start()
           
 void stop()
           
 
Methods inherited from class org.jboss.portal.server.deployment.jboss.Deployment
create, destroy, findRepositoryClassLoader, findWEBINFURL
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OVERWRITE_IF_EXISTS

public static final int OVERWRITE_IF_EXISTS
.

See Also:
Constant Field Values

KEEP_IF_EXISTS

public static final int KEEP_IF_EXISTS
.

See Also:
Constant Field Values

log

protected static final Logger log
The logger.


isTrace

protected boolean isTrace
.


tm

protected TransactionManager tm
.


factory

protected ObjectDeploymentFactory factory
The factory that created this deployment.


units

protected java.util.ArrayList units
What we have deployed.

Constructor Detail

ObjectDeployment

public ObjectDeployment(java.net.URL url,
                        javax.management.MBeanServer mbeanServer,
                        TransactionManager tm,
                        PortalWebApp pwa,
                        ObjectDeploymentFactory factory)
Method Detail

start

public void start()
           throws DeploymentException
Overrides:
start in class Deployment
Throws:
DeploymentException

doStart

protected void doStart()
                throws java.lang.Exception
Throws:
java.lang.Exception

stop

public void stop()
          throws DeploymentException
Overrides:
stop in class Deployment
Throws:
DeploymentException

getFactory

public ObjectDeploymentFactory getFactory()
Return factory

Returns:
@see ObjectDeploymentFactory