ninja.lifecycle
Class LifecycleSupport

java.lang.Object
  extended by ninja.lifecycle.LifecycleSupport

public class LifecycleSupport
extends Object

Guice support for lifecycle

Author:
James Roper

Method Summary
static com.google.inject.Module getModule()
          Get the lifecycle support module
 boolean hasLifecycleMethod(Class<?> clazz)
           
 void registerLifecycle(Object target)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getModule

public static com.google.inject.Module getModule()
Get the lifecycle support module

Returns:
The lifecycle support module

hasLifecycleMethod

public boolean hasLifecycleMethod(Class<?> clazz)

registerLifecycle

public void registerLifecycle(Object target)


Copyright © 2012. All Rights Reserved.