de.jiac.micro.core
Class LifecycleHandler

java.lang.Object
  extended by de.jiac.micro.core.LifecycleHandler

public final class LifecycleHandler
extends Object

Version:
$Revision$
Author:
Erdene-Ochir Tuguldur, Marcel Patzlaff

Nested Class Summary
static interface LifecycleHandler.ILifecycleContext
           
static interface LifecycleHandler.LifecycleState
           
static class LifecycleHandler.ListableLifecycleContext
           
static class LifecycleHandler.SimpleLifecycleContext
           
 
Method Summary
static boolean makeTransitionsTo(ILifecycleAware la, byte currentState, byte targetState, org.slf4j.Logger logger)
           
static boolean makeTransitionsTo(LifecycleHandler.ILifecycleContext context, byte targetState, org.slf4j.Logger logger)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

makeTransitionsTo

public static boolean makeTransitionsTo(ILifecycleAware la,
                                        byte currentState,
                                        byte targetState,
                                        org.slf4j.Logger logger)

makeTransitionsTo

public static boolean makeTransitionsTo(LifecycleHandler.ILifecycleContext context,
                                        byte targetState,
                                        org.slf4j.Logger logger)


Copyright © 2008-2011 DAI-Labor. All Rights Reserved.