electric.util.constructor
Class Constructor
java.lang.Object
electric.util.constructor.Constructor
- All Implemented Interfaces:
- IInstantiator
- public class Constructor
- extends java.lang.Object
- implements IInstantiator
Constructor.
- Author:
- webMethods
Constructor Summary |
Constructor()
For use in EXML de/serialization. |
Constructor(Element element)
|
Constructor(java.lang.String className,
java.lang.Class[] argClasses,
java.lang.String[] args)
|
Constructor(java.lang.String className,
java.lang.String[] args)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
args
public java.lang.String[] args
argClasses
public java.lang.Class[] argClasses
className
public java.lang.String className
loader
protected transient java.lang.ClassLoader loader
Constructor
public Constructor()
- For use in EXML de/serialization.
Constructor
public Constructor(java.lang.String className,
java.lang.String[] args)
- Parameters:
className
- args
-
Constructor
public Constructor(java.lang.String className,
java.lang.Class[] argClasses,
java.lang.String[] args)
- Parameters:
className
- argClasses
- args
-
Constructor
public Constructor(Element element)
- Parameters:
element
-
writeDescriptor
public void writeDescriptor(Element descriptor)
- Specified by:
writeDescriptor
in interface IInstantiator
- Parameters:
descriptor
-
getDescriptor
public Element getDescriptor()
- Specified by:
getDescriptor
in interface IInstantiator
- Returns:
newInstance
public java.lang.Object newInstance()
throws java.lang.Throwable
- Specified by:
newInstance
in interface IInstantiator
- Throws:
java.lang.Throwable
getReturnType
public java.lang.Class getReturnType()
throws java.lang.ClassNotFoundException
- Specified by:
getReturnType
in interface IInstantiator
- Throws:
java.lang.ClassNotFoundException
getClassName
public java.lang.String getClassName()
- Description copied from interface:
IInstantiator
- There is no way to get the name of the return type without having the
factory/class available.
- Specified by:
getClassName
in interface IInstantiator
setClassLoader
public void setClassLoader(java.lang.ClassLoader loader)
- Specified by:
setClassLoader
in interface IInstantiator
- Parameters:
loader
-
getClassLoader
public java.lang.ClassLoader getClassLoader()
- Specified by:
getClassLoader
in interface IInstantiator
copyright© 2001-2004 by webMethods All Rights Reserved.