public class ComponentConstructorImpl extends java.lang.Object implements ComponentConstructor
| Constructor and Description |
|---|
ComponentConstructorImpl(java.lang.reflect.Constructor constructor,
java.lang.Object[] parameters,
java.lang.String classFabString,
org.apache.hivemind.Location location)
News instance of this class.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Class |
getComponentClass()
Returns the class actually instantiated (which may be an enhanced subclass).
|
java.lang.Object |
newInstance()
Requests that a new instance of the component.
|
public ComponentConstructorImpl(java.lang.reflect.Constructor constructor, java.lang.Object[] parameters, java.lang.String classFabString, org.apache.hivemind.Location location)
constructor - the constructor method to invokeparameters - the parameters to pass to the constructor. These are retained, not copied.classFabString - a string representing the generated class information, used for exception
reportinglocation - the location, used for exception reportingpublic java.lang.Class getComponentClass()
ComponentConstructorgetComponentClass in interface ComponentConstructorpublic java.lang.Object newInstance()
ComponentConstructornewInstance in interface ComponentConstructor