electric.util.constructor
Interface IInstantiator

All Known Implementing Classes:
Constructor, Factory

public interface IInstantiator

IInstantiator.

Author:
webMethods

Method Summary
 java.lang.ClassLoader getClassLoader()
           
 java.lang.String getClassName()
          There is no way to get the name of the return type without having the factory/class available.
 Element getDescriptor()
           
 java.lang.Class getReturnType()
           
 java.lang.Object newInstance()
           
 void setClassLoader(java.lang.ClassLoader loader)
           
 void writeDescriptor(Element descriptor)
           
 

Method Detail

setClassLoader

public void setClassLoader(java.lang.ClassLoader loader)
Parameters:
loader -

getClassLoader

public java.lang.ClassLoader getClassLoader()

writeDescriptor

public void writeDescriptor(Element descriptor)
Parameters:
descriptor -

getDescriptor

public Element getDescriptor()

newInstance

public java.lang.Object newInstance()
                             throws java.lang.Throwable
Throws:
java.lang.Throwable

getReturnType

public java.lang.Class getReturnType()
                              throws java.lang.ClassNotFoundException
Throws:
java.lang.ClassNotFoundException

getClassName

public java.lang.String getClassName()
There is no way to get the name of the return type without having the factory/class available.



copyright© 2001-2004 by webMethods All Rights Reserved.