|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TypedRegistry
Specialized interface for the Registry
access from annotated modules.
Implements typed access to services and configurations by use of Generics.
Method Summary | ||
---|---|---|
org.apache.hivemind.service.Autowiring |
getAutowiring()
Returns a reference to the Autowiring service. |
|
|
getConfiguration(java.lang.Class<T> configurationType)
Finds a configuration by its type. |
|
|
getConfiguration(java.lang.String configurationId,
java.lang.Class<T> configurationType)
Returns the specified configuration from the registry. |
|
|
getService(java.lang.Class<T> serviceInterface)
Finds a service that implements the provided interface. |
|
|
getService(java.lang.String serviceId,
java.lang.Class<T> serviceInterface)
Returns a service from the registry. |
|
void |
shutdown()
|
Method Detail |
---|
<T> T getService(java.lang.String serviceId, java.lang.Class<T> serviceInterface)
Registry.getService(String, Class)
<T> T getService(java.lang.Class<T> serviceInterface)
Registry.getService(Class)
<T> T getConfiguration(java.lang.String configurationId, java.lang.Class<T> configurationType)
Registry.getConfiguration(String)
<T> T getConfiguration(java.lang.Class<T> configurationType)
Registry.getConfiguration(String)
org.apache.hivemind.service.Autowiring getAutowiring()
Autowiring
service.
void shutdown()
Registry.shutdown()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |