org.codehaus.cargo.container.deployable
Class EJB

java.lang.Object
  extended byorg.codehaus.cargo.util.log.LoggedObject
      extended byorg.codehaus.cargo.container.spi.deployable.AbstractDeployable
          extended byorg.codehaus.cargo.container.deployable.EJB
All Implemented Interfaces:
Deployable, org.codehaus.cargo.util.log.Loggable

public class EJB
extends AbstractDeployable

Wraps an EJB JAR file that will be deployed in the container.

Version:
$Id: EJB.java 1162 2006-07-31 07:32:59Z vmassol $

Constructor Summary
EJB(java.lang.String ejb)
           
 
Method Summary
 DeployableType getType()
          
 
Methods inherited from class org.codehaus.cargo.container.spi.deployable.AbstractDeployable
getFile, getFileHandler, setFileHandler
 
Methods inherited from class org.codehaus.cargo.util.log.LoggedObject
getLogger, setLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.codehaus.cargo.util.log.Loggable
getLogger, setLogger
 

Constructor Detail

EJB

public EJB(java.lang.String ejb)
Parameters:
ejb - the location of the EJB being wrapped. This must point to an EJB JAR file.
Method Detail

getType

public DeployableType getType()

Returns:
the deployable's type (war, ear, etc)
See Also:
Deployable.getType()


Copyright © 2004-2008 Codehaus. All Rights Reserved.