Package jfun.yan.lifecycle

Examples of jfun.yan.lifecycle.LifecycleManager


      //The object identity of the factory determines if this factory
      //can be called multiple times by the lifecycle manager.
      //so cannot use singleton even if it carries no state.
      final Component factory =
        target.factory();
      final LifecycleManager man = super.getNutEnvironment()
      .getLifecycleManager();
      final Lifecycle lifecycle = new Lifecycle();
      lifecycle.put(phase, FactoryProcedure.instance(), isReentrant(phase));
      return man.withLifecycle(factory, lifecycle);
    }
  }
View Full Code Here

TOP

Related Classes of jfun.yan.lifecycle.LifecycleManager

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.