|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.uoc.tfc.ServiceLocator
public class ServiceLocator
Locates and provides all available application services.
Field Summary | |
---|---|
static java.lang.String |
BEAN_PREFIX
The prefix used for all bean ids. |
Method Summary | |
---|---|
AsseguradoraManageableService |
getAsseguradoraManageableService()
Gets an instance of AsseguradoraManageableService . |
AsseguradoraService |
getAsseguradoraService()
Gets an instance of AsseguradoraService . |
ClientManageableService |
getClientManageableService()
Gets an instance of ClientManageableService . |
ClientService |
getClientService()
Gets an instance of ClientService . |
org.springframework.context.ApplicationContext |
getContext()
Gets the Spring ApplicationContext. |
FacturaManageableService |
getFacturaManageableService()
Gets an instance of FacturaManageableService . |
OperationManageableService |
getOperationManageableService()
Gets an instance of OperationManageableService . |
PartManageableService |
getPartManageableService()
Gets an instance of PartManageableService . |
PartService |
getPartService()
Gets an instance of PartService . |
RoleManageableService |
getRoleManageableService()
Gets an instance of RoleManageableService . |
SecurityService |
getSecurityService()
Gets an instance of SecurityService . |
java.lang.Object |
getService(java.lang.String serviceName)
Gets an instance of the given service. |
TipusSiniestreManageableService |
getTipusSiniestreManageableService()
Gets an instance of TipusSiniestreManageableService . |
TipusSinistreService |
getTipusSinistreService()
Gets an instance of TipusSinistreService . |
UserManageableService |
getUserManageableService()
Gets an instance of UserManageableService . |
void |
init(java.lang.String beanFactoryReferenceLocation)
Initializes the Spring application context from the given beanFactoryReferenceLocation . |
void |
init(java.lang.String beanFactoryReferenceLocation,
java.lang.String beanRefFactoryReferenceId)
Initializes the Spring application context from the given beanFactoryReferenceLocation . |
static ServiceLocator |
instance()
Gets the shared instance of this Class |
void |
shutdown()
Shuts down the ServiceLocator and releases any used resources. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String BEAN_PREFIX
Method Detail |
---|
public static final ServiceLocator instance()
public void init(java.lang.String beanFactoryReferenceLocation, java.lang.String beanRefFactoryReferenceId)
beanFactoryReferenceLocation
. If null
is specified for the beanFactoryReferenceLocation
then the default application context will be used.
beanFactoryReferenceLocation
- the location of the beanRefFactory reference.public void init(java.lang.String beanFactoryReferenceLocation)
beanFactoryReferenceLocation
. If null
is specified for the beanFactoryReferenceLocation
then the default application context will be used.
beanFactoryReferenceLocation
- the location of the beanRefFactory reference.public org.springframework.context.ApplicationContext getContext()
public void shutdown()
public final SecurityService getSecurityService()
SecurityService
.
public final AsseguradoraService getAsseguradoraService()
AsseguradoraService
.
public final ClientService getClientService()
ClientService
.
public final PartService getPartService()
PartService
.
public final TipusSinistreService getTipusSinistreService()
TipusSinistreService
.
public final UserManageableService getUserManageableService()
UserManageableService
.
public final RoleManageableService getRoleManageableService()
RoleManageableService
.
public final OperationManageableService getOperationManageableService()
OperationManageableService
.
public final PartManageableService getPartManageableService()
PartManageableService
.
public final FacturaManageableService getFacturaManageableService()
FacturaManageableService
.
public final TipusSiniestreManageableService getTipusSiniestreManageableService()
TipusSiniestreManageableService
.
public final AsseguradoraManageableService getAsseguradoraManageableService()
AsseguradoraManageableService
.
public final ClientManageableService getClientManageableService()
ClientManageableService
.
public final java.lang.Object getService(java.lang.String serviceName)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |