Package org.apache.webbeans.annotation

Examples of org.apache.webbeans.annotation.ApplicationScopeLiteral


     * @param webBeansContext
     */
    public ExtensionBean(Class<T> returnType, WebBeansContext webBeansContext)
    {
        super(WebBeansType.EXTENSION,returnType, webBeansContext);
        setImplScopeType(new ApplicationScopeLiteral());
    }
View Full Code Here


        comp.setEnabled(true);

        DefinitionUtil definitionUtil = webBeansContext.getDefinitionUtil();
        definitionUtil.defineApiTypes(comp, clazz);

        comp.setImplScopeType(new ApplicationScopeLiteral());
        comp.addQualifier(new DefaultLiteral());

        definitionUtil.defineObserverMethods(comp, clazz);

        return comp;
View Full Code Here

TOP

Related Classes of org.apache.webbeans.annotation.ApplicationScopeLiteral

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.