|
GWT 2.3.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@Deprecated public interface ServiceLocator
A ServiceLocator provides instances of a type specified by a Service
when Request
methods declared in a RequestContext
are mapped
onto instance (non-static) methods.
ServiceLocator subtypes must be default instantiable (i.e. public static types with a no-arg constructor). Instances of ServiceLocators may be retained and reused by the RequestFactory service layer.
RequestFactory has moved to
com.google.web.bindery.requestfactory
. This package will be
removed in a future version of GWT.
Service.locator()
Method Summary | |
---|---|
java.lang.Object |
getInstance(java.lang.Class<?> clazz)
Deprecated. Returns an instance of the service object. |
Method Detail |
---|
java.lang.Object getInstance(java.lang.Class<?> clazz)
clazz
- the requested type of service object
|
GWT 2.3.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |