Package org.opennms.core.soa
Interface Registration
-
public interface Registration
Registration- Version:
- $Id: $
- Author:
- brozow
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.String>
getProperties()
getPropertiesjava.lang.Class<?>[]
getProvidedInterfaces()
getProvidedInterfacesjava.lang.Object
getProvider()
<T> T
getProvider(java.lang.Class<T> service)
getProviderServiceRegistry
getRegistry()
getRegistryboolean
isUnregistered()
isUnregisteredvoid
unregister()
unregister
-
-
-
Method Detail
-
getRegistry
ServiceRegistry getRegistry()
getRegistry
- Returns:
- a
ServiceRegistry
object.
-
getProvidedInterfaces
java.lang.Class<?>[] getProvidedInterfaces()
getProvidedInterfaces
- Returns:
- an array of
Class
objects.
-
getProvider
<T> T getProvider(java.lang.Class<T> service)
getProvider
- Type Parameters:
T
- a T object.- Parameters:
service
- aClass
object.- Returns:
- a T object.
-
getProvider
java.lang.Object getProvider()
-
getProperties
java.util.Map<java.lang.String,java.lang.String> getProperties()
getProperties
- Returns:
- a
Map
object.
-
isUnregistered
boolean isUnregistered()
isUnregistered
- Returns:
- a boolean.
-
unregister
void unregister()
unregister
-
-