Package org.apache.webbeans.annotation

Examples of org.apache.webbeans.annotation.StandardLiteral


        }
       
       
        comp.setImplScopeType(new DependentScopeLiteral());
        comp.addBindingType(new NewLiteral());
        comp.setType(new StandardLiteral());
        comp.setName(null);
       

        return comp;
    }   
View Full Code Here


        {
            throw new WebBeansException("No constructor found in EventImpl class", e);
        }

        component.setConstructor(constructor);
        component.setType(new StandardLiteral());
        component.setImplScopeType(new DependentScopeLiteral());                     

        return component;
    }
View Full Code Here

    public static ManagerComponentImpl getManagerComponent()
    {
        ManagerComponentImpl managerComponent = new ManagerComponentImpl();

        managerComponent.setImplScopeType(new DependentScopeLiteral());
        managerComponent.setType(new StandardLiteral());
        managerComponent.addBindingType(new CurrentLiteral());
        managerComponent.addApiType(Manager.class);
        managerComponent.addApiType(Object.class);

        return managerComponent;
View Full Code Here

        instanceComponent.addApiType(clazz);
        instanceComponent.addApiType(Object.class);
       
        DefinitionUtil.defineBindingTypes(instanceComponent, obtainsBindings);
        instanceComponent.setImplScopeType(new DependentScopeLiteral());
        instanceComponent.setType(new StandardLiteral());
        instanceComponent.setName(null);
       
       
        return instanceComponent;
    }
View Full Code Here

        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

        super(WebBeansType.INJECTIONPOINT,InjectionPoint.class);
        this.injectionPoint = injectionPoint;
       
        addBindingType(new CurrentLiteral());
        setImplScopeType(new DependentScopeLiteral());
        setType(new StandardLiteral());
        addApiType(InjectionPoint.class);
        addApiType(Object.class);
    }
View Full Code Here

            component.addApiType(TopicPublisher.class);
            component.addApiType(TopicSubscriber.class);
        }
       
        component.setImplScopeType(new DependentScopeLiteral());
        component.setType(new StandardLiteral());
       
        Annotation[] anns = model.getBindings();
       
        for(Annotation a : anns)
        {
View Full Code Here

        {
            throw new WebBeansException("No constructor found in EventImpl class", e);
        }

        component.setConstructor(constructor);
        component.setType(new StandardLiteral());
        component.setImplScopeType(new DependentScopeLiteral());

        return component;
    }
View Full Code Here

    public static ManagerComponentImpl getManagerComponent()
    {
        ManagerComponentImpl managerComponent = new ManagerComponentImpl();

        managerComponent.setImplScopeType(new DependentScopeLiteral());
        managerComponent.setType(new StandardLiteral());
        managerComponent.addBindingType(new CurrentLiteral());
        managerComponent.addApiType(Manager.class);
        managerComponent.addApiType(Object.class);

        return managerComponent;
View Full Code Here

        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.annotation.StandardLiteral

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.