Examples of RuntimeComponentDispatcher


Examples of org.jboss.deployers.spi.management.RuntimeComponentDispatcher

   protected <T extends Enum<?>> T getComponentMappedState(ManagedComponent comp, ManagedObject mo, Object name, ContextStateMapper<T> mapper)
   {
      T state = mapper.getErrorState();
      try
      {
         RuntimeComponentDispatcher dispatcher;
         if (mo != null && mo.getTransientAttachment(MBeanRuntimeComponentDispatcher.class.getName()) != null)
         {
            dispatcher = mbeanProxyFactory.getDispatcher();
         }
         else
         {
            dispatcher = this.dispatcher;
         }
        
         if (dispatcher != null)
         {
            state = dispatcher.mapControllerState(name, mapper);
         }
      }
      catch(Exception e)
      {
         log.debug("Failed to get controller state", e);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.