org.jtheque.core.managers
Class Managers

java.lang.Object
  extended by org.jtheque.core.managers.Managers

public final class Managers
extends java.lang.Object

This class provide access to the different managers of the application.

Author:
Baptiste Wicht

Method Summary
static void closeManagers()
          Close the different managers of the application.
static ICore getCore()
          Return the core.
static
<T> T
getManager(java.lang.Class<T> managerClass)
          Return the manager with the specified class.
static void initManagers()
          Init the different managers of the application.
protected static void loadManagers(ManagerContainer container)
          Load the manager from the manager container.
static void preInitManagers()
          Pre-init the different managers of the application.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

preInitManagers

public static void preInitManagers()
Pre-init the different managers of the application.


initManagers

public static void initManagers()
Init the different managers of the application.


closeManagers

public static void closeManagers()
Close the different managers of the application.


getCore

public static ICore getCore()
Return the core.

Returns:
The core.

getManager

public static <T> T getManager(java.lang.Class<T> managerClass)
Return the manager with the specified class.

Type Parameters:
T - The type of the manager.
Parameters:
managerClass - The class of the manager.
Returns:
The manager.

loadManagers

protected static void loadManagers(ManagerContainer container)
Load the manager from the manager container.

Parameters:
container - The manager container.


Copyright © 2009 JTheque. All Rights Reserved.