com.scooterframework.admin
Class SamiManager

java.lang.Object
  extended by com.scooterframework.admin.SamiManager

public class SamiManager
extends java.lang.Object

SamiManager class.


Method Summary
 void deRegisterController(java.lang.Class<?> controllerClass)
          Deregisters a controller class.
 void deRegisterModel(java.lang.Class<?> modelClass)
          Deregisters a model class.
static SamiManager getInstance()
          Returns the singleton instance of the EventsManager.
 boolean hasConfiguredAsController(java.lang.Class<?> clazz)
          Checks if the class has been completely configured as a controller.
 boolean hasConfiguredAsModel(java.lang.Class<?> clazz)
          Checks if the class has been completely configured as a model.
 void registerController(java.lang.Class<?> controllerClass)
          Registers a controller class after its complete configuration.
 void registerModel(java.lang.Class<?> modelClass)
          Registers a model class after its complete configuration.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static SamiManager getInstance()
Returns the singleton instance of the EventsManager.

Returns:
the singleton instance of the EventsManager.

registerController

public void registerController(java.lang.Class<?> controllerClass)
Registers a controller class after its complete configuration.

Parameters:
controllerClass - the fully configured controller class

registerModel

public void registerModel(java.lang.Class<?> modelClass)
Registers a model class after its complete configuration.

Parameters:
modelClass - the fully configured model class

hasConfiguredAsController

public boolean hasConfiguredAsController(java.lang.Class<?> clazz)
Checks if the class has been completely configured as a controller.

Parameters:
clazz -
Returns:
true if the controller class has been configured.

hasConfiguredAsModel

public boolean hasConfiguredAsModel(java.lang.Class<?> clazz)
Checks if the class has been completely configured as a model.

Parameters:
clazz -
Returns:
true if the model class has been configured.

deRegisterController

public void deRegisterController(java.lang.Class<?> controllerClass)
Deregisters a controller class.

Parameters:
controllerClass - the fully configured controller class

deRegisterModel

public void deRegisterModel(java.lang.Class<?> modelClass)
Deregisters a model class.

Parameters:
modelClass - the fully configured model class