|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CompatibilityComponentManager
Add a backward compatibility layer to the ComponentManager class.
| Method Summary | ||
|---|---|---|
|
getComponentDescriptor(Class<T> role,
String hint)
Deprecated. since 4.0M1 use #getComponentDescriptor(Type, String) instead |
|
|
hasComponent(Class<T> role)
Deprecated. since 4.0M1 use #hasComponent(Type) instead |
|
|
hasComponent(Class<T> role,
String hint)
Deprecated. since 4.0M1 use #hasComponent(Type, String) instead |
|
|
lookup(Class<T> role)
Deprecated. since 4.0M1 use #getInstance(java.lang.reflect.Type) instead |
|
|
lookup(Class<T> role,
String hint)
Deprecated. since 4.0M1 use #getInstance(java.lang.reflect.Type, String) instead |
|
|
lookupList(Class<T> role)
Deprecated. since 4.0M1 use #getInstanceList(java.lang.reflect.Type) instead |
|
|
lookupMap(Class<T> role)
Deprecated. since 4.0M1 use #getInstanceMap(java.lang.reflect.Type) instead |
|
|
unregisterComponent(Class<T> role,
String hint)
Deprecated. since 4.0M1 use #unregisterComponent(Type, String) instead |
|
| Method Detail |
|---|
@Deprecated
<T> T lookup(Class<T> role)
throws ComponentLookupException
#getInstance(java.lang.reflect.Type) instead
T - the component role typerole - the class (aka role) that the component implements
ComponentLookupException - in case the component cannot be found
@Deprecated
<T> T lookup(Class<T> role,
String hint)
throws ComponentLookupException
#getInstance(java.lang.reflect.Type, String) instead
T - the component role typerole - the class (aka role) that the component implementshint - the hint that differentiates a component implementation from another one (each component is
registered with a hint; the "default" hint being the default)
ComponentLookupException - in case the component cannot be found
@Deprecated
<T> List<T> lookupList(Class<T> role)
throws ComponentLookupException
#getInstanceList(java.lang.reflect.Type) instead
T - the type of the components rolerole - the class of the components role
ComponentLookupException - if any error happen during component search
@Deprecated
<T> Map<String,T> lookupMap(Class<T> role)
throws ComponentLookupException
#getInstanceMap(java.lang.reflect.Type) instead
Map with role hint as key.
T - the type of the components rolerole - the class of the components role
ComponentLookupException - if any error happen during component search@Deprecated <T> boolean hasComponent(Class<T> role)
#hasComponent(Type) instead
T - the component role typerole - the class (aka role) that the component implements
@Deprecated
<T> boolean hasComponent(Class<T> role,
String hint)
#hasComponent(Type, String) instead
T - the component role typerole - the class (aka role) that the component implementshint - the hint that differentiates a component implementation from another one (each component is
registered with a hint; the "default" hint being the default)
@Deprecated
<T> void unregisterComponent(Class<T> role,
String hint)
#unregisterComponent(Type, String) instead
T - the component role typerole - the role identifying the componenthint - the hint identifying the component
@Deprecated
<T> ComponentDescriptor<T> getComponentDescriptor(Class<T> role,
String hint)
#getComponentDescriptor(Type, String) instead
T - the component role typerole - the role identifying the componenthint - the hint identifying the component
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||