|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcatalog.view.bean.ServiceLocatorBean
The implementation of ServiceLocator.
This class is managed by the JSF managed bean facility, and is set with application scope.
ServiceLocator| Constructor Summary | |
ServiceLocatorBean()
Constructor. |
|
| Method Summary | |
CatalogService |
getCatalogService()
Get the CatalogService |
UserService |
getUserService()
Get the UserService |
java.lang.Object |
lookupService(java.lang.String serviceBeanName)
Lookup service based on service bean name. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ServiceLocatorBean()
The following steps being done:
CatalogService from Spring application context.
UserService from Spring applicatino context.
| Method Detail |
public CatalogService getCatalogService()
CatalogService
getCatalogService in interface ServiceLocatorpublic UserService getUserService()
UserService
getUserService in interface ServiceLocatorpublic java.lang.Object lookupService(java.lang.String serviceBeanName)
serviceBeanName - the service bean name
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||