Package org.openscience.cdk
Interface DynamicFactory.InterfaceProvider
- All Known Implementing Classes:
DynamicFactory.DefaultInterfaceProvider
- Enclosing class:
- DynamicFactory
public static interface DynamicFactory.InterfaceProvider
An interface that can provide which interfaces the given class
implements. This interface is constructor injectable allowing us to test
the registration using this method.
-
Method Summary
Modifier and TypeMethodDescriptionClass<?>[]
getInterfaces
(Class<?> c) Access the interfaces for a given class.
-
Method Details
-
getInterfaces
Access the interfaces for a given class.- Parameters:
c
- the class to access the interfaces of- Returns:
- a set of interfaces
-