public class ChipFactory extends Object
| Constructor and Description |
|---|
ChipFactory() |
| Modifier and Type | Method and Description |
|---|---|
static Map<Class<?>,Class<?>> |
getClassMappings(Class<?> mappingClass)
Gets the default classmappings from the StructureLoader.
|
static Map<Class<?>,Class<?>> |
getHMCClassMappings()
Gets the coreclassmappings from the StructureLoader.
|
static Object |
getInstance(Class theHMCClass,
Class[] parameterClasses,
Object[] parameterValues)
This method should be used to get default instances for hmc core chip classes.
|
static Object |
getInstance(Class theSourceClass,
Class theTargetClass,
Class[] parameterClasses,
Object[] parameterValues)
Returns an instance of the class specifed in
theTargetClass. |
public static Object getInstance(Class theSourceClass, Class theTargetClass, Class[] parameterClasses, Object[] parameterValues)
theTargetClass. If theTargetClass is null,
an instance of class theSourceClass is returned.theSourceClass - The core hmc class, which should be replaced.theTargetClass - The class, which should replace the hmc core class specified in parameter theSourceClass.
This parameter can be null. If it is null, the hmc core class specified in the
parameter theSourceClass is used instead.parameterClasses - Class array containing the class signature of the constructor, which should be used.parameterValues - Object array containing the values for the constructor, which will be used to create the instance.public static Object getInstance(Class theHMCClass, Class[] parameterClasses, Object[] parameterValues)
parameterClasses - Class array, containing the class signature of the constructor, which should be used.parameterValues - Array of objects, containing the values for the constructor, which will be used to create the instance.theHMCClass - The class of the instance, which should be returned.public static Map<Class<?>,Class<?>> getHMCClassMappings()
Copyright © 2017 SAP SE. All Rights Reserved.