|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use IAdapter | |
|---|---|
| org.fishbolt.common.adapter | The Adapter Pattern Contains the suggested adapter interfaces. |
| org.fishbolt.common.adapter.ext | The Adapter Pattern Contains base implementation of the adapter mechanism. |
| Uses of IAdapter in org.fishbolt.common.adapter |
|---|
| Methods in org.fishbolt.common.adapter with type parameters of type IAdapter | ||
|---|---|---|
|
IAdaptable.getAdapter(java.lang.Class<A> adapterType)
The method parameter sets a type of the adapter, which instance we want to get. |
|
| Uses of IAdapter in org.fishbolt.common.adapter.ext |
|---|
| Fields in org.fishbolt.common.adapter.ext with type parameters of type IAdapter | |
|---|---|
protected java.util.LinkedHashMap<java.lang.Class<? extends IAdapter>,java.util.LinkedHashSet<IAdapterFactory>> |
AdapterFactoryManager.adapterFactories
regisrty of objects implementing the IAdapterFactory interface. |
protected java.lang.Class<? extends IAdapter> |
SingleAdapterFactory.adpterClass
adapter class |
| Methods in org.fishbolt.common.adapter.ext with type parameters of type IAdapter | ||
|---|---|---|
|
SingleAdapterFactory.create(java.lang.Class<A> adapterType,
IAdaptable adaptable)
|
|
|
IAdapterFactory.create(java.lang.Class<A> adapterType,
IAdaptable adaptable)
In fact performs the creation of an adapter instance for the adaptable object. |
|
protected
|
AdapterFactoryManager.createAdapter(java.lang.Class<A> adapterType,
IAdaptable adaptable)
Delegates creation of the concrete adapter for the adaptable object to the corresponding Factory instance from the Factories saved in the regisrty |
|
|
Adaptable.getAdapter(java.lang.Class<A> adapterType)
|
|
protected
|
SingleAdapterFactory.instantiate(java.lang.Class<A> adapterType,
IAdaptable adaptable)
Defines creation of an object instance itself is provided by calling the newInstance() method for the adapter class defined in the constructor. |
|
| Methods in org.fishbolt.common.adapter.ext that return types with arguments of type IAdapter | |
|---|---|
protected static java.lang.Class<? extends IAdapter> |
AdapterFactoryManager.getDerivedFrom(java.lang.Class<? extends IAdapter> base,
java.util.Set<java.lang.Class<? extends IAdapter>> derived)
Determines first class or interface from the set derived
which is either the same as class, or is a subclass or
subinterface of, the class or interface represented by the specified
base parameter |
| Method parameters in org.fishbolt.common.adapter.ext with type arguments of type IAdapter | |
|---|---|
protected static java.lang.Class<? extends IAdapter> |
AdapterFactoryManager.getDerivedFrom(java.lang.Class<? extends IAdapter> base,
java.util.Set<java.lang.Class<? extends IAdapter>> derived)
Determines first class or interface from the set derived
which is either the same as class, or is a subclass or
subinterface of, the class or interface represented by the specified
base parameter |
protected static java.lang.Class<? extends IAdapter> |
AdapterFactoryManager.getDerivedFrom(java.lang.Class<? extends IAdapter> base,
java.util.Set<java.lang.Class<? extends IAdapter>> derived)
Determines first class or interface from the set derived
which is either the same as class, or is a subclass or
subinterface of, the class or interface represented by the specified
base parameter |
| Constructor parameters in org.fishbolt.common.adapter.ext with type arguments of type IAdapter | |
|---|---|
SingleAdapterFactory(java.lang.Class<? extends IAdapter> adpterClass)
The constructor of the Factory creating adapters with the required type for any adaptable object |
|
SingleAdapterFactory(java.lang.Class<? extends IAdapter> adpterClass,
java.lang.Class<? extends IAdaptable>... adaptableTypes)
The constructor of the Factory creating adapters with the type, declared in the first parameter. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||