org.objectweb.easybeans.deployment.xml
Class EJB3DeploymentDesc

java.lang.Object
  extended by org.objectweb.easybeans.deployment.xml.EJB3DeploymentDesc

public final class EJB3DeploymentDesc
extends java.lang.Object

Utility class to get a deployment descriptor.

Author:
Florent Benoit

Constructor Summary
private EJB3DeploymentDesc()
          Utility class, no public constructor.
 
Method Summary
static EJB3 getEjb3(java.io.File archive)
          Gets EJB3 for a given archive.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EJB3DeploymentDesc

private EJB3DeploymentDesc()
Utility class, no public constructor.

Method Detail

getEjb3

public static EJB3 getEjb3(java.io.File archive)
                    throws EJB3DeploymentDescException
Gets EJB3 for a given archive.

Parameters:
archive - file/directory.
Returns:
EJB3 instance or null.
Throws:
EJB3DeploymentDescException - if no xml is present.