Examples of ITimeoutTarget


Examples of org.jboss.metadata.common.ejb.ITimeoutTarget

    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()) {
                assert descriptorData instanceof ITimeoutTarget : descriptorData + " is not an ITimeoutTarget";
                ITimeoutTarget target = (ITimeoutTarget) descriptorData;
                if (target.getTimeoutMethod() != null) {
                    parseTimeoutMethod(target, description, componentClass, deploymentReflectionIndex);
                }
                parseScheduleMethods(descriptorData, description, componentClass, deploymentReflectionIndex);
            }
        }
View Full Code Here

Examples of org.jboss.metadata.common.ejb.ITimeoutTarget

    @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 (descriptorData instanceof ITimeoutTarget) {
                ITimeoutTarget target = (ITimeoutTarget) descriptorData;
                if (target.getTimeoutMethod() != null) {
                    parseTimeoutMethod(target, description, componentClass, deploymentReflectionIndex);
                }
            }
            parseScheduleMethods(descriptorData, description, componentClass, deploymentReflectionIndex);
        }
View Full Code Here

Examples of org.jboss.metadata.common.ejb.ITimeoutTarget

    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()) {
                assert descriptorData instanceof ITimeoutTarget : descriptorData + " is not an ITimeoutTarget";
                ITimeoutTarget target = (ITimeoutTarget) descriptorData;
                if (target.getTimeoutMethod() != null) {
                    parseTimeoutMethod(target, description, componentClass, deploymentReflectionIndex);
                }
                parseScheduleMethods(descriptorData, description, componentClass, deploymentReflectionIndex);
            }
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.