ObjectFactoryLoader
, SimpleObjectFactory
public interface ObjectFactory
Modifier and Type | Method | Description |
---|---|---|
GenericObjectFactory |
getFactoryForClass(java.lang.Class c) |
Returns the generic factory for the given class or null, if there is
no handler for this class.
|
ManualMappingDefinition |
getManualMappingDefinition(java.lang.Class c) |
Returns the manual mapping definition for the given class, or null, if
not manual definition exists.
|
MultiplexMappingDefinition |
getMultiplexDefinition(java.lang.Class c) |
Returns the multiplex definition for the given class, or null, if no
such definition exists.
|
boolean |
isGenericHandler(java.lang.Class c) |
Checks, whether a generic handler exists for the given class.
|
GenericObjectFactory getFactoryForClass(java.lang.Class c)
c
- the class for which we need a producerboolean isGenericHandler(java.lang.Class c)
c
- the class for which to checkMultiplexMappingDefinition getMultiplexDefinition(java.lang.Class c)
c
- the class for which to check the existence of the multiplexerManualMappingDefinition getManualMappingDefinition(java.lang.Class c)
c
- the class for which to check the existence of the definition