Package org.gatein.pc.portlet.container.managed

Examples of org.gatein.pc.portlet.container.managed.ManagedObjectLifeCycleEvent


         }

         //
         if (status != previousStatus)
         {
            getListener().onEvent(new ManagedObjectLifeCycleEvent(this, status));
         }

         //
         if (status == LifeCycleStatus.STARTED)
         {
View Full Code Here


            {
               status = LifeCycleStatus.STOPPED;
            }

            //
            getListener().onEvent(new ManagedObjectLifeCycleEvent(this, LifeCycleStatus.STOPPED));
         }
      }
      finally
      {
         active = false;
View Full Code Here

                createMetaData(managedPortletFilter.getId(), portletApp);
            }

        } else if (event instanceof ManagedObjectLifeCycleEvent) {

            ManagedObjectLifeCycleEvent lifeCycleEvent = (ManagedObjectLifeCycleEvent) event;
            ManagedObject managedObject = lifeCycleEvent.getManagedObject();
            LifeCycleStatus status = lifeCycleEvent.getStatus();

            if (managedObject instanceof ManagedPortletContainer) {

                if (LifeCycleStatus.STARTED == status || LifeCycleStatus.INITIALIZED == status) {
                    return;
View Full Code Here

TOP

Related Classes of org.gatein.pc.portlet.container.managed.ManagedObjectLifeCycleEvent

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.