|
Arquillian Drone Extension Implementation 1.0.0.CR3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.arquillian.drone.impl.DroneRegistryImpl
public class DroneRegistryImpl
Register of available Configurators, Instantiators and Destructors discovered via SPI.
Stores only one of them per type, so DroneRegistrar is responsible for selecting correct implementations.
| Constructor Summary | |
|---|---|
DroneRegistryImpl()
|
|
| Method Summary | ||
|---|---|---|
|
getEntryFor(Class<?> key,
Class<T> entryType)
|
|
DroneRegistry |
registerConfiguratorFor(Class<?> key,
Configurator<?,?> configurator)
Registers a configurator for given object type |
|
DroneRegistry |
registerDestructorFor(Class<?> key,
Destructor<?> value)
Registers a destructor for given object type |
|
DroneRegistry |
registerInstantiatorFor(Class<?> key,
Instantiator<?,?> value)
Registers a instantiator for given object type |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DroneRegistryImpl()
| Method Detail |
|---|
public DroneRegistry registerConfiguratorFor(Class<?> key,
Configurator<?,?> configurator)
registerConfiguratorFor in interface DroneRegistrykey - Type to be registeredconfigurator - Configurator to be stored
public DroneRegistry registerInstantiatorFor(Class<?> key,
Instantiator<?,?> value)
registerInstantiatorFor in interface DroneRegistrykey - Type to be registeredvalue - Instantiator to be stored
public DroneRegistry registerDestructorFor(Class<?> key,
Destructor<?> value)
registerDestructorFor in interface DroneRegistrykey - Type to be registeredvalue - Destructor to be stored
public <T extends Sortable> T getEntryFor(Class<?> key,
Class<T> entryType)
throws IllegalStateException
getEntryFor in interface DroneRegistryIllegalStateException
|
Arquillian Drone Extension Implementation 1.0.0.CR3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||