@Override protected void handleDeploymentDescriptor(final DeploymentUnit deploymentUnit, final DeploymentReflectionIndex deploymentReflectionIndex, final Class<?> componentClass, final EJBComponentDescription description) throws DeploymentUnitProcessingException { final EEApplicationDescription applicationDescription = deploymentUnit.getAttachment(Attachments.EE_APPLICATION_DESCRIPTION); final ResourceRoot deploymentRoot = deploymentUnit.getAttachment(org.jboss.as.server.deployment.Attachments.DEPLOYMENT_ROOT); if (description.getDescriptorData() instanceof SessionBean31MetaData) { SessionBean31MetaData metaData = (SessionBean31MetaData) description.getDescriptorData(); if (metaData.getDependsOn() != null) { setupDependencies(description, applicationDescription, deploymentRoot, metaData.getDependsOn()); } } }
@Override protected void handleDeploymentDescriptor(final DeploymentUnit deploymentUnit, final DeploymentReflectionIndex deploymentReflectionIndex, final Class<?> componentClass, final SessionBeanComponentDescription description) throws DeploymentUnitProcessingException { final EEApplicationDescription applicationDescription = deploymentUnit.getAttachment(Attachments.EE_APPLICATION_DESCRIPTION); final ResourceRoot deploymentRoot = deploymentUnit.getAttachment(org.jboss.as.server.deployment.Attachments.DEPLOYMENT_ROOT); if (description.getDescriptorData() instanceof SessionBean31MetaData) { SessionBean31MetaData metaData = (SessionBean31MetaData) description.getDescriptorData(); if (metaData.getDependsOn() != null) { setupDependencies(description, applicationDescription, deploymentRoot, metaData.getDependsOn()); } } }