Search in sources :

Example 1 with JavaNamespaceSetup

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;
}
Also used : ConcurrentContextSetupAction(org.jboss.as.ee.concurrent.ConcurrentContextSetupAction) JavaNamespaceSetup(org.jboss.as.ee.naming.JavaNamespaceSetup) ArrayList(java.util.ArrayList) SetupAction(org.jboss.as.server.deployment.SetupAction) ConcurrentContextSetupAction(org.jboss.as.ee.concurrent.ConcurrentContextSetupAction)

Aggregations

ArrayList (java.util.ArrayList)1 ConcurrentContextSetupAction (org.jboss.as.ee.concurrent.ConcurrentContextSetupAction)1 JavaNamespaceSetup (org.jboss.as.ee.naming.JavaNamespaceSetup)1 SetupAction (org.jboss.as.server.deployment.SetupAction)1