Interface IAccessorFactory.Registry
- All Known Implementing Classes:
AccessorFactoryRegistryImpl
- Enclosing interface:
- IAccessorFactory
public static interface IAccessorFactory.Registry
The registry of
IAccessorFactory
.- Since:
- 4.0
-
Method Summary
Modifier and TypeMethodDescriptionadd
(IAccessorFactory factory) Add the given factory to the registry.void
clear()
Clear the registry.getFactories
(Object target) Returns all the factories available in the registry for the given object.getHighestRankingFactory
(Object target) Returns the highest ranking factory available for the given object.Remove the factory represented by the given class name.
-
Method Details
-
getHighestRankingFactory
Returns the highest ranking factory available for the given object.- Parameters:
target
- the given object.- Returns:
- the highest ranking factory available for the given object.
-
getFactories
Returns all the factories available in the registry for the given object.- Parameters:
target
- the given object.- Returns:
- all the factories available in the registry for the given object.
-
add
Add the given factory to the registry.- Parameters:
factory
- the given factory.- Returns:
- the given factory.
-
remove
Remove the factory represented by the given class name.- Parameters:
className
- the class name of the factory to removed.- Returns:
- the factory removed.
-
clear
void clear()Clear the registry.
-