Search in sources :

Example 1 with InstanceProvider

use of org.jboss.wsf.spi.deployment.InstanceProvider in project wildfly by wildfly.

the class InjectionDeploymentAspect method setInjectionAwareInstanceProvider.

private void setInjectionAwareInstanceProvider(final Endpoint ep) {
    final InstanceProvider stackInstanceProvider = ep.getInstanceProvider();
    final DeploymentUnit unit = ep.getService().getDeployment().getAttachment(DeploymentUnit.class);
    final InstanceProvider injectionAwareInstanceProvider = new InjectionAwareInstanceProvider(stackInstanceProvider, ep, unit);
    ep.setInstanceProvider(injectionAwareInstanceProvider);
}
Also used : DeploymentUnit(org.jboss.as.server.deployment.DeploymentUnit) InstanceProvider(org.jboss.wsf.spi.deployment.InstanceProvider)

Aggregations

DeploymentUnit (org.jboss.as.server.deployment.DeploymentUnit)1 InstanceProvider (org.jboss.wsf.spi.deployment.InstanceProvider)1