Package org.apache.webbeans.component

Examples of org.apache.webbeans.component.ConversationComponent


        return instanceComponent;
    }

    public static ConversationComponent getConversationComponent()
    {
        ConversationComponent conversationComp = new ConversationComponent();

        conversationComp.addApiType(Conversation.class);
        conversationComp.addApiType(ConversationImpl.class);
        conversationComp.addApiType(Object.class);
        conversationComp.setImplScopeType(new RequestedScopeLiteral());
        conversationComp.setType(new StandardLiteral());
        conversationComp.addBindingType(new CurrentLiteral());
        conversationComp.setName("javax.context.conversation");

        return conversationComp;
    }
View Full Code Here


        return managerComponent;
    }

    public static ConversationComponent getConversationComponent()
    {
        ConversationComponent conversationComp = new ConversationComponent();

        conversationComp.addApiType(Conversation.class);
        conversationComp.addApiType(ConversationImpl.class);
        conversationComp.addApiType(Object.class);
        conversationComp.setImplScopeType(new RequestedScopeLiteral());
        conversationComp.setType(new StandardLiteral());
        conversationComp.addBindingType(new CurrentLiteral());

        return conversationComp;
    }
View Full Code Here

TOP

Related Classes of org.apache.webbeans.component.ConversationComponent

Copyright © 2018 www.massapicom. 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.