Package org.glassfish.ejb.embedded
Class DeploymentElement
java.lang.Object
org.glassfish.ejb.embedded.DeploymentElement
Wrapper that allows to distinguish between an EJB module and a library reference.
- Author:
- Marina Vatkina
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic intcountEJBModules(Set<DeploymentElement> modules) getOrCreateApplication(Set<DeploymentElement> modules, String appName) Create deployable application from a Set of DeploymentElements.static DeploymentElementgetWar(Set<DeploymentElement> modules) static booleanhasEJBModule(Set<DeploymentElement> modules) static booleanhasLibrary(Set<DeploymentElement> modules) static booleanhasWar(Set<DeploymentElement> modules)
-
Method Details
-
hasEJBModule
-
hasWar
-
getWar
-
hasLibrary
-
countEJBModules
-
getOrCreateApplication
public static DeploymentElement.ResultApplication getOrCreateApplication(Set<DeploymentElement> modules, String appName) throws jakarta.ejb.EJBException, IOException Create deployable application from a Set of DeploymentElements.- Parameters:
modules- the Set of DeploymentElements.- Returns:
- deployable application.
- Throws:
jakarta.ejb.EJBExceptionIOException
-