Package org.apache.beehive.controls.api.context

Examples of org.apache.beehive.controls.api.context.ControlBeanContext


        request = PageFlowUtils.unwrapMultipart( request );

        PageFlowControlContainer pfcc = PageFlowControlContainerFactory.getControlContainer(request,servletContext);
        pfcc.createAndBeginControlBeanContext(controlClient,request,response,servletContext);
        ControlBeanContext beanContext = pfcc.getControlContainerContext(controlClient);
        assert beanContext != null : "ControlBeanContext was not initialized by PageFlowRequestProcessor";

        try
        {
            if(LOG.isDebugEnabled())
View Full Code Here


    {
        org.apache.beehive.controls.system.jdbc.JdbcControlImpl __bc_impl = (org.apache.beehive.controls.system.jdbc.JdbcControlImpl)target;
       
        super.initServices(bean, __bc_impl);
       
        ControlBeanContext __bc_beanContext = bean.getControlBeanContext();
        try
        {
            org.apache.beehive.controls.api.context.ControlBeanContext __context = __bc_beanContext;
            if (__context == null)
            throw new ControlException("Contextual service org.apache.beehive.controls.api.context.ControlBeanContext is not available");
            __bc_impl._context = __context;
            org.apache.beehive.controls.api.context.ResourceContext __resourceContext = (org.apache.beehive.controls.api.context.ResourceContext)__bc_beanContext.getService(org.apache.beehive.controls.api.context.ResourceContext.class, null);
            if (__resourceContext == null)
            throw new ControlException("Contextual service org.apache.beehive.controls.api.context.ResourceContext is not available");
            __resourceContext.addResourceEventsListener(new _resourceContextResourceEventsEventAdaptor(__bc_impl));
            __bc_impl._resourceContext = __resourceContext;
        }
View Full Code Here

    {
        org.apache.beehive.controls.system.jms.impl.JMSControlImpl __bc_impl = (org.apache.beehive.controls.system.jms.impl.JMSControlImpl)target;
       
        super.initServices(bean, __bc_impl);
       
        ControlBeanContext __bc_beanContext = bean.getControlBeanContext();
        try
        {
            org.apache.beehive.controls.api.context.ResourceContext __resourceContext = (org.apache.beehive.controls.api.context.ResourceContext)__bc_beanContext.getService(org.apache.beehive.controls.api.context.ResourceContext.class, null);
            if (__resourceContext == null)
            throw new ControlException("Contextual service org.apache.beehive.controls.api.context.ResourceContext is not available");
            __resourceContext.addResourceEventsListener(new _resourceContextResourceEventsEventAdaptor(__bc_impl));
            __resourceContextField.set(__bc_impl, __resourceContext);
            org.apache.beehive.controls.api.context.ControlBeanContext __context = __bc_beanContext;
View Full Code Here

    {
        org.apache.beehive.controls.system.ejb.EJBControlImpl __bc_impl = (org.apache.beehive.controls.system.ejb.EJBControlImpl)target;
       
        super.initServices(bean, __bc_impl);
       
        ControlBeanContext __bc_beanContext = bean.getControlBeanContext();
        try
        {
            org.apache.beehive.controls.api.context.ControlBeanContext _context = __bc_beanContext;
            if (_context == null)
            throw new ControlException("Contextual service org.apache.beehive.controls.api.context.ControlBeanContext is not available");
            _context.addLifeCycleListener(new ContextLifeCycleEventAdaptor(__bc_impl));
            __bc_impl.context = _context;
            org.apache.beehive.controls.api.context.ResourceContext _resourceContext = (org.apache.beehive.controls.api.context.ResourceContext)__bc_beanContext.getService(org.apache.beehive.controls.api.context.ResourceContext.class, null);
            if (_resourceContext == null)
            throw new ControlException("Contextual service org.apache.beehive.controls.api.context.ResourceContext is not available");
            _resourceContext.addResourceEventsListener(new ResourceContextResourceEventsEventAdaptor(__bc_impl));
            __bc_impl.resourceContext = _resourceContext;
        }
View Full Code Here

TOP

Related Classes of org.apache.beehive.controls.api.context.ControlBeanContext

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.