public interface DroneContext
| Modifier and Type | Method and Description |
|---|---|
DroneContext |
add(Class<?> key,
Class<? extends Annotation> qualifier,
InstanceOrCallableInstance union)
Adds object under given key and given qualifier
|
InstanceOrCallableInstance |
get(Class<?> key,
Class<? extends Annotation> qualifier)
Gets object stored under given qualifier and given key
|
DroneContext |
remove(Class<?> key,
Class<? extends Annotation> qualifier)
Removes object under given key and given qualifier
|
InstanceOrCallableInstance get(Class<?> key, Class<? extends Annotation> qualifier)
key - Key used to find the objectqualifier - Qualifier used to find the objectDroneContext add(Class<?> key, Class<? extends Annotation> qualifier, InstanceOrCallableInstance union)
T - Type of the objectkey - Key used to store the objectqualifier - Qualifier used to store the objectunion - Object to be storedDroneContext remove(Class<?> key, Class<? extends Annotation> qualifier)
key - Key used to find the objectqualifier - Qualifier used to find the objectCopyright © 2014 JBoss by Red Hat. All rights reserved.