JSecurity

org.jsecurity.util
Class LifecycleUtils

java.lang.Object
  extended by org.jsecurity.util.LifecycleUtils

public abstract class LifecycleUtils
extends Object

TODO - complete JavaDoc

Since:
0.2
Author:
Les Hazlewood

Constructor Summary
LifecycleUtils()
           
 
Method Summary
static void destroy(Collection c)
          Calls destroy for each object in the collection.
static void destroy(Destroyable d)
           
static void destroy(Object o)
           
static void init(Collection c)
           
static void init(Initializable initializable)
           
static void init(Object o)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LifecycleUtils

public LifecycleUtils()
Method Detail

init

public static void init(Object o)
                 throws JSecurityException
Throws:
JSecurityException

init

public static void init(Initializable initializable)
                 throws JSecurityException
Throws:
JSecurityException

init

public static void init(Collection c)
                 throws JSecurityException
Parameters:
c -
Throws:
JSecurityException
Since:
0.9

destroy

public static void destroy(Object o)

destroy

public static void destroy(Destroyable d)

destroy

public static void destroy(Collection c)
Calls destroy for each object in the collection. If the collection is null or empty, this method returns quietly.

Parameters:
c - the collection of objects to destroy.
Since:
0.9

JSecurity

Copyright © 2004-2008 JSecurity.