Examples of StatefulComponentDescription


Examples of org.jboss.as.ejb3.component.stateful.StatefulComponentDescription

        switch (sessionType) {
            case Stateless:
                sessionBeanDescription = new StatelessComponentDescription(beanName, beanClassName, ejbJarDescription, deploymentUnit.getServiceName(), sessionBean);
                break;
            case Stateful:
                sessionBeanDescription = new StatefulComponentDescription(beanName, beanClassName, ejbJarDescription, deploymentUnit.getServiceName(), sessionBean);
                break;
            case Singleton:
                sessionBeanDescription = new SingletonComponentDescription(beanName, beanClassName, ejbJarDescription, deploymentUnit.getServiceName(), sessionBean);
                break;
            default:
View Full Code Here

Examples of org.jboss.as.ejb3.component.stateful.StatefulComponentDescription

        ServiceName deploymentUnitServiceName = source.getServiceName().getParent();
        switch (sessionBeanType) {
            case STATELESS:
                return new StatelessComponentDescription(source.getComponentName(), source.getComponentClassName(), ejbModuleDescription, deploymentUnitServiceName);
            case STATEFUL:
                return new StatefulComponentDescription(source.getComponentName(), source.getComponentClassName(), ejbModuleDescription, deploymentUnitServiceName);
            case SINGLETON:
                return new SingletonComponentDescription(source.getComponentName(), source.getComponentClassName(), ejbModuleDescription, deploymentUnitServiceName);
            default:
                throw new IllegalArgumentException("Unknown session bean type: " + sessionBeanType + " for bean " + source.getEJBName());
        }
View Full Code Here

Examples of org.jboss.as.ejb3.component.stateful.StatefulComponentDescription

            switch (sessionBeanType) {
                case STATELESS:
                    sessionBeanDescription = new StatelessComponentDescription(beanName, beanClassName, moduleDescription.getModuleName(), applicationName);
                    break;
                case STATEFUL:
                    sessionBeanDescription = new StatefulComponentDescription(beanName, beanClassName, moduleDescription.getModuleName(), applicationName);
                    break;
                case SINGLETON:
                    sessionBeanDescription = new SingletonComponentDescription(beanName, beanClassName, moduleDescription.getModuleName(), applicationName);
                    break;
                default:
View Full Code Here

Examples of org.jboss.as.ejb3.component.stateful.StatefulComponentDescription

            switch (sessionBeanType) {
                case STATELESS:
                    sessionBeanDescription = new StatelessComponentDescription(beanName, beanClassName, ejbJarDescription, deploymentUnitServiceName, beanMetaData);
                    break;
                case STATEFUL:
                    sessionBeanDescription = new StatefulComponentDescription(beanName, beanClassName, ejbJarDescription, deploymentUnitServiceName, beanMetaData);
                    break;
                case SINGLETON:
                    sessionBeanDescription = new SingletonComponentDescription(beanName, beanClassName, ejbJarDescription, deploymentUnitServiceName, beanMetaData);
                    break;
                default:
View Full Code Here

Examples of org.jboss.as.ejb3.component.stateful.StatefulComponentDescription

        switch (sessionType) {
            case Stateless:
                sessionBeanDescription = new StatelessComponentDescription(beanName, beanClassName, ejbJarDescription, deploymentUnit.getServiceName(), sessionBean);
                break;
            case Stateful:
                sessionBeanDescription = new StatefulComponentDescription(beanName, beanClassName, ejbJarDescription, deploymentUnit.getServiceName(), sessionBean);
                break;
            case Singleton:
                sessionBeanDescription = new SingletonComponentDescription(beanName, beanClassName, ejbJarDescription, deploymentUnit.getServiceName(), sessionBean);
                break;
            default:
View Full Code Here

Examples of org.jboss.as.ejb3.component.stateful.StatefulComponentDescription

        SessionBeanComponentDescription.SessionBeanType sessionBeanType = source.getSessionBeanType();
        switch (sessionBeanType) {
            case STATELESS:
                return new StatelessComponentDescription(source.getComponentName(), source.getComponentClassName(), ejbModuleDescription);
            case STATEFUL:
                return new StatefulComponentDescription(source.getComponentName(), source.getComponentClassName(), ejbModuleDescription);
            case SINGLETON:
                return new SingletonComponentDescription(source.getComponentName(), source.getComponentClassName(), ejbModuleDescription);
            default:
                throw new IllegalArgumentException("Unknown session bean type: " + sessionBeanType + " for bean " + source.getEJBName());
        }
View Full Code Here

Examples of org.jboss.as.ejb3.component.stateful.StatefulComponentDescription

        switch (sessionType) {
            case Stateless:
                sessionBeanDescription = new StatelessComponentDescription(beanName, beanClassName, ejbJarDescription);
                break;
            case Stateful:
                sessionBeanDescription = new StatefulComponentDescription(beanName, beanClassName, ejbJarDescription);
                break;
            case Singleton:
                sessionBeanDescription = new SingletonComponentDescription(beanName, beanClassName, ejbJarDescription);
                break;
            default:
View Full Code Here

Examples of org.jboss.as.ejb3.component.stateful.StatefulComponentDescription

            switch (sessionBeanType) {
                case STATELESS:
                    sessionBeanDescription = new StatelessComponentDescription(beanName, beanClassName, ejbJarDescription);
                    break;
                case STATEFUL:
                    sessionBeanDescription = new StatefulComponentDescription(beanName, beanClassName, ejbJarDescription);
                    break;
                case SINGLETON:
                    sessionBeanDescription = new SingletonComponentDescription(beanName, beanClassName, ejbJarDescription);
                    break;
                default:
View Full Code Here

Examples of org.jboss.as.ejb3.component.stateful.StatefulComponentDescription

            switch (sessionBeanType) {
                case STATELESS:
                    sessionBeanDescription = new StatelessComponentDescription(beanName, beanClassName, ejbJarDescription, deploymentUnitServiceName);
                    break;
                case STATEFUL:
                    sessionBeanDescription = new StatefulComponentDescription(beanName, beanClassName, ejbJarDescription, deploymentUnitServiceName);
                    break;
                case SINGLETON:
                    sessionBeanDescription = new SingletonComponentDescription(beanName, beanClassName, ejbJarDescription, deploymentUnitServiceName);
                    break;
                default:
View Full Code Here

Examples of org.jboss.as.ejb3.component.stateful.StatefulComponentDescription

        switch (sessionType) {
            case Stateless:
                sessionBeanDescription = new StatelessComponentDescription(beanName, beanClassName, ejbJarDescription, deploymentUnit.getServiceName());
                break;
            case Stateful:
                sessionBeanDescription = new StatefulComponentDescription(beanName, beanClassName, ejbJarDescription, deploymentUnit.getServiceName());
                break;
            case Singleton:
                sessionBeanDescription = new SingletonComponentDescription(beanName, beanClassName, ejbJarDescription, deploymentUnit.getServiceName());
                break;
            default:
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.