edu.uoc.tfc
Class ManageableServiceLocator

java.lang.Object
  extended by edu.uoc.tfc.ManageableServiceLocator

public class ManageableServiceLocator
extends java.lang.Object

Locates and provides all available application services.


Method Summary
 AsseguradoraManageableService getAsseguradoraManageableService()
          Gets an instance of AsseguradoraManageableService.
 ClientManageableService getClientManageableService()
          Gets an instance of ClientManageableService.
 FacturaManageableService getFacturaManageableService()
          Gets an instance of FacturaManageableService.
 OperationManageableService getOperationManageableService()
          Gets an instance of OperationManageableService.
 PartManageableService getPartManageableService()
          Gets an instance of PartManageableService.
 RoleManageableService getRoleManageableService()
          Gets an instance of RoleManageableService.
 TipusSiniestreManageableService getTipusSiniestreManageableService()
          Gets an instance of TipusSiniestreManageableService.
 UserManageableService getUserManageableService()
          Gets an instance of UserManageableService.
 void init(java.lang.String beanFactoryReferenceLocation)
          Initializes the Spring application context from the given beanFactoryReferenceLocation.
static ManageableServiceLocator instance()
          Gets the shared instance of this Class
 void shutdown()
          Shuts down the ManageableServiceLocator and releases any used resources.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

instance

public static final ManageableServiceLocator instance()
Gets the shared instance of this Class

Returns:
the shared service locator instance.

init

public void init(java.lang.String beanFactoryReferenceLocation)
Initializes the Spring application context from the given beanFactoryReferenceLocation. If null is specified for the beanFactoryReferenceLocation then the default application context will be used.

Parameters:
contextLocation - the location of the context

shutdown

public void shutdown()
Shuts down the ManageableServiceLocator and releases any used resources.


getUserManageableService

public final UserManageableService getUserManageableService()
Gets an instance of UserManageableService.


getRoleManageableService

public final RoleManageableService getRoleManageableService()
Gets an instance of RoleManageableService.


getOperationManageableService

public final OperationManageableService getOperationManageableService()
Gets an instance of OperationManageableService.


getPartManageableService

public final PartManageableService getPartManageableService()
Gets an instance of PartManageableService.


getFacturaManageableService

public final FacturaManageableService getFacturaManageableService()
Gets an instance of FacturaManageableService.


getTipusSiniestreManageableService

public final TipusSiniestreManageableService getTipusSiniestreManageableService()
Gets an instance of TipusSiniestreManageableService.


getAsseguradoraManageableService

public final AsseguradoraManageableService getAsseguradoraManageableService()
Gets an instance of AsseguradoraManageableService.


getClientManageableService

public final ClientManageableService getClientManageableService()
Gets an instance of ClientManageableService.