Package org.apache.deltaspike.data.spi

Examples of org.apache.deltaspike.data.spi.DelegateQueryHandler


    @Override
    public Object execute(CdiQueryInvocationContext context)
    {
        try
        {
            DelegateQueryHandler delegate = selectDelegate(context);
            if (delegate != null)
            {
                return invoke(delegate, context);
            }
        }
View Full Code Here


            if (contains(bean.getBeanClass(), context.getMethod()))
            {
                if (bean.getScope().equals(Dependent.class))
                {
                    CreationalContext<DelegateQueryHandler> cc = beanManager.createCreationalContext(bean);
                    DelegateQueryHandler instance = (DelegateQueryHandler) beanManager.getReference(
                            bean, DelegateQueryHandler.class, cc);
                    context.addDestroyable(new BeanDestroyable<DelegateQueryHandler>(bean, instance, cc));
                    return instance;
                }
                return (DelegateQueryHandler) BeanProvider.getContextualReference(bean.getBeanClass());
View Full Code Here

    @Override
    public Object execute(CdiQueryInvocationContext context)
    {
        try
        {
            DelegateQueryHandler delegate = selectDelegate(context.getMethod());
            if (delegate != null)
            {
                return invoke(delegate, context);
            }
        }
View Full Code Here

TOP

Related Classes of org.apache.deltaspike.data.spi.DelegateQueryHandler

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.