org.jtheque.core.managers
Class ManagerContainer

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

public final class ManagerContainer
extends java.lang.Object

A container for a list of managers.

Author:
Baptiste Wicht

Constructor Summary
ManagerContainer(java.util.Map<java.lang.Class<?>,IManager> managers)
          Construct a new ManagerContainer.
 
Method Summary
 java.util.Map<java.lang.Class<?>,IManager> getManagers()
          Return the managers.
 void transfer()
          Transfer the manager's list to the Managers class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ManagerContainer

public ManagerContainer(java.util.Map<java.lang.Class<?>,IManager> managers)
Construct a new ManagerContainer.

Parameters:
managers - The managers list.
Method Detail

getManagers

public java.util.Map<java.lang.Class<?>,IManager> getManagers()
Return the managers.

Returns:
A List containing all the managers.

transfer

@PostConstruct
public void transfer()
Transfer the manager's list to the Managers class.



Copyright © 2009 JTheque. All Rights Reserved.