use of org.jboss.as.ee.naming.JavaNamespaceSetup in project wildfly by wildfly.
the class WeldDeploymentProcessor method getSetupActions.
static List<SetupAction> getSetupActions(DeploymentUnit deploymentUnit) {
final List<SetupAction> setupActions = new ArrayList<SetupAction>();
JavaNamespaceSetup naming = deploymentUnit.getAttachment(org.jboss.as.ee.naming.Attachments.JAVA_NAMESPACE_SETUP_ACTION);
if (naming != null) {
setupActions.add(naming);
}
final ConcurrentContextSetupAction concurrentContext = deploymentUnit.getAttachment(org.jboss.as.ee.component.Attachments.CONCURRENT_CONTEXT_SETUP_ACTION);
if (concurrentContext != null) {
setupActions.add(concurrentContext);
}
return setupActions;
}
Aggregations