org.glassfish.ejb.embedded
Class DeploymentElement
java.lang.Object
org.glassfish.ejb.embedded.DeploymentElement
public class DeploymentElement
- extends java.lang.Object
Wrapper that allows to distinguish between an EJB module and a library reference.
- Author:
- Marina Vatkina
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
hasEJBModule
public static boolean hasEJBModule(java.util.Set<DeploymentElement> modules)
hasWar
public static boolean hasWar(java.util.Set<DeploymentElement> modules)
getWar
public static DeploymentElement getWar(java.util.Set<DeploymentElement> modules)
hasLibrary
public static boolean hasLibrary(java.util.Set<DeploymentElement> modules)
countEJBModules
public static int countEJBModules(java.util.Set<DeploymentElement> modules)
getOrCreateApplication
public static DeploymentElement.ResultApplication getOrCreateApplication(java.util.Set<DeploymentElement> modules,
java.lang.String appName)
throws EJBException,
java.io.IOException
- Create deployable application from a Set of DeploymentElements.
- Parameters:
modules - the Set of DeploymentElements.
- Returns:
- deployable application.
- Throws:
EJBException
java.io.IOException
Copyright © 2012 GlassFish Community. All Rights Reserved.