@Override public MessageDrivenBeanMetaData getDescriptorData() { return (MessageDrivenBeanMetaData) super.getDescriptorData(); }
@Override public SessionBeanMetaData getDescriptorData() { return (SessionBeanMetaData) super.getDescriptorData(); }
@Override protected void handleDeploymentDescriptor(final DeploymentUnit deploymentUnit, final DeploymentReflectionIndex deploymentReflectionIndex, final Class<?> componentClass, final EJBComponentDescription componentConfiguration) throws DeploymentUnitProcessingException { final EnterpriseBeanMetaData beanMetaData = componentConfiguration.getDescriptorData(); if(componentConfiguration.isEntity() || beanMetaData == null) { return; } final TransactionManagementType type = componentConfiguration.getDescriptorData().getTransactionType(); if(type != null) { componentConfiguration.setTransactionManagementType(type); } } }
@Override protected void handleDeploymentDescriptor(final DeploymentUnit deploymentUnit, final DeploymentReflectionIndex deploymentReflectionIndex, final Class<?> componentClass, final EJBComponentDescription description) throws DeploymentUnitProcessingException { if (description.getDescriptorData() == null) { return; } final SecurityRoleRefsMetaData roleRefs = description.getDescriptorData().getSecurityRoleRefs(); if (roleRefs != null) { for(SecurityRoleRefMetaData ref : roleRefs) { description.addDeclaredRoles(ref.getRoleName()); } } } }
@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 EJBComponentDescription description) throws DeploymentUnitProcessingException { final EnterpriseBeanMetaData descriptorData = description.getDescriptorData(); if (descriptorData != null) { if (description.isSession() || description.isMessageDriven()) {
final DeploymentReflectionIndex deploymentReflectionIndex, final Class<?> componentClass, final EJBComponentDescription componentConfiguration) throws DeploymentUnitProcessingException { if (componentConfiguration.getDescriptorData() != null) { final SecurityIdentityMetaData identity = componentConfiguration.getDescriptorData().getSecurityIdentity();
private void handleSessionBean(final EJBComponentDescription component, final Module module, final DeploymentReflectionIndex reflectionIndex) throws ClassNotFoundException, DeploymentUnitProcessingException { if (component.getDescriptorData() == null) { return; final EnterpriseBeanMetaData metaData = component.getDescriptorData();
@Override public SessionBeanMetaData getDescriptorData() { return (SessionBeanMetaData) super.getDescriptorData(); }
@Override public MessageDrivenBeanMetaData getDescriptorData() { return (MessageDrivenBeanMetaData) super.getDescriptorData(); }
@Override protected void handleDeploymentDescriptor(final DeploymentUnit deploymentUnit, final DeploymentReflectionIndex deploymentReflectionIndex, final Class<?> componentClass, final EJBComponentDescription componentConfiguration) throws DeploymentUnitProcessingException { final EnterpriseBeanMetaData beanMetaData = componentConfiguration.getDescriptorData(); if(componentConfiguration.isEntity() || beanMetaData == null) { return; } final TransactionManagementType type = componentConfiguration.getDescriptorData().getTransactionType(); if(type != null) { componentConfiguration.setTransactionManagementType(type); } } }
@Override protected void handleDeploymentDescriptor(final DeploymentUnit deploymentUnit, final DeploymentReflectionIndex deploymentReflectionIndex, final Class<?> componentClass, final EJBComponentDescription description) throws DeploymentUnitProcessingException { if (description.getDescriptorData() == null) { return; } final SecurityRoleRefsMetaData roleRefs = description.getDescriptorData().getSecurityRoleRefs(); if (roleRefs != null) { for(SecurityRoleRefMetaData ref : roleRefs) { description.addDeclaredRoles(ref.getRoleName()); } } } }
@Override protected void handleDeploymentDescriptor(final DeploymentUnit deploymentUnit, final DeploymentReflectionIndex deploymentReflectionIndex, final Class<?> componentClass, final EJBComponentDescription description) throws DeploymentUnitProcessingException { final EnterpriseBeanMetaData descriptorData = description.getDescriptorData(); if (descriptorData != null) { if (description.isSession() || description.isMessageDriven()) {
final DeploymentReflectionIndex deploymentReflectionIndex, final Class<?> componentClass, final EJBComponentDescription componentConfiguration) throws DeploymentUnitProcessingException { if (componentConfiguration.getDescriptorData() != null) { final SecurityIdentityMetaData identity = componentConfiguration.getDescriptorData().getSecurityIdentity();
private void handleSessionBean(final EJBComponentDescription component, final DeploymentClassIndex classIndex, final DeploymentReflectionIndex reflectionIndex) throws ClassNotFoundException, DeploymentUnitProcessingException { if (component.getDescriptorData() == null) { return; final EnterpriseBeanMetaData metaData = component.getDescriptorData();