|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.androidpn.server.service.ServiceLocator
public class ServiceLocator
This is a helper class to look up service objects.
Field Summary | |
---|---|
static java.lang.String |
USER_SERVICE
|
Constructor Summary | |
---|---|
ServiceLocator()
|
Method Summary | |
---|---|
static java.lang.Object |
getService(java.lang.String name)
Generic method to obtain a service object for a given name. |
static UserService |
getUserService()
Obtains the user service. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.lang.String USER_SERVICE
Constructor Detail |
---|
public ServiceLocator()
Method Detail |
---|
public static java.lang.Object getService(java.lang.String name)
name
- the service bean name
public static UserService getUserService()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |