mandala.util
Class SerializableConstructor

java.lang.Object
  extended bymandala.util.SerializableConstructor
All Implemented Interfaces:
AccessibleObjectOp, ConstructorOp, Member, Serializable

public class SerializableConstructor
extends Object
implements ConstructorOp, Serializable

This class is the java.io.Serializable clone of java.lang.reflect.Constructor.

Version:
$Revision: 1.2 $
Author:
eipi
See Also:
Serializable, Constructor, Serialized Form

Field Summary
protected static Syslog syslog
          Message logger.
 
Fields inherited from interface java.lang.reflect.Member
DECLARED, PUBLIC
 
Constructor Summary
protected SerializableConstructor(Constructor constructor)
          Creates a new SerializableConstructor instance.
 
Method Summary
protected  void finalize()
           
 Constructor getConstructor()
           
 Class getDeclaringClass()
           
 Class[] getExceptionTypes()
           
static SerializableConstructor getInstance(Constructor constructor)
           
 int getModifiers()
           
 String getName()
           
 Class[] getParameterTypes()
           
 int hashCode()
           
 boolean isAccessible()
           
 Object newInstance(Object[] args)
          Equivalent of Constructor.newInstance(Object[]).
 void setAccessible(boolean flag)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

syslog

protected static Syslog syslog

Message logger.

Each message (debug, log, warning, error, ...) are wrote to this message logger.

See Also:
Syslog
Constructor Detail

SerializableConstructor

protected SerializableConstructor(Constructor constructor)
Creates a new SerializableConstructor instance.

Parameters:
constructor - the constructor to be cloned/serialized.
Method Detail

getInstance

public static SerializableConstructor getInstance(Constructor constructor)

finalize

protected void finalize()
                 throws Throwable
Throws:
Throwable

setAccessible

public void setAccessible(boolean flag)
Specified by:
setAccessible in interface AccessibleObjectOp

isAccessible

public boolean isAccessible()
Specified by:
isAccessible in interface AccessibleObjectOp

getDeclaringClass

public Class getDeclaringClass()
Specified by:
getDeclaringClass in interface ConstructorOp

getName

public String getName()
Specified by:
getName in interface ConstructorOp

getModifiers

public int getModifiers()
Specified by:
getModifiers in interface ConstructorOp

getParameterTypes

public Class[] getParameterTypes()
Specified by:
getParameterTypes in interface ConstructorOp

getExceptionTypes

public Class[] getExceptionTypes()
Specified by:
getExceptionTypes in interface ConstructorOp

newInstance

public Object newInstance(Object[] args)
                   throws InstantiationException,
                          IllegalAccessException,
                          InvocationTargetException,
                          IllegalArgumentException
Description copied from interface: ConstructorOp

Equivalent of Constructor.newInstance(Object[]).

Specified by:
newInstance in interface ConstructorOp
Parameters:
args - an Object[] value
Returns:
an Object value
Throws:
IllegalAccessException - if an error occurs
IllegalArgumentException - if an error occurs
InstantiationException
InvocationTargetException
See Also:
Constructor.newInstance(Object[]).

hashCode

public int hashCode()

getConstructor

public Constructor getConstructor()

toString

public String toString()


Mandala help mailing list