Interface ServiceLocator
-
public interface ServiceLocatorA ServiceLocator provides instances of a type specified by aServicewhenRequestmethods declared in aRequestContextare 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.
- See Also:
Service.locator()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.ObjectgetInstance(java.lang.Class<?> clazz)Returns an instance of the service object.
-