org.jboss.serial.classmetamodel
Class SunConstructorManager

java.lang.Object
  extended by org.jboss.serial.classmetamodel.ConstructorManager
      extended by org.jboss.serial.classmetamodel.SunConstructorManager
All Implemented Interfaces:
ClassMetaConsts

public class SunConstructorManager
extends ConstructorManager

This constructor manager requires sun package present. If the class is not present, we will not be able to use this constructor manager $Id: SunConstructorManager.java,v 1.14 2006/06/15 16:29:07 csuconic Exp $

Author:
Clebert Suconic

Field Summary
 
Fields inherited from interface org.jboss.serial.util.ClassMetaConsts
EMPTY_CLASS_ARRY, EMPTY_OBJECT_ARRAY, emptyReference, identityHashStrategy, REFERENCE_TYPE_IN_USE
 
Constructor Summary
SunConstructorManager()
           
 
Method Summary
 java.lang.reflect.Constructor getConstructor(java.lang.Class clazz)
           
 boolean isSupported()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SunConstructorManager

public SunConstructorManager()
Method Detail

getConstructor

public java.lang.reflect.Constructor getConstructor(java.lang.Class clazz)
                                             throws java.lang.SecurityException,
                                                    java.lang.NoSuchMethodException
Specified by:
getConstructor in class ConstructorManager
Throws:
java.lang.SecurityException
java.lang.NoSuchMethodException

isSupported

public boolean isSupported()
Specified by:
isSupported in class ConstructorManager


JBoss Serialization, a new approach to java-serialization.