org.apache.openejb.util.io
Class ClassDescriptor
java.lang.Object
org.apache.openejb.util.io.ClassDescriptor
- All Implemented Interfaces:
- ObjectStreamConstants, Serializable
public class ClassDescriptor
- extends Object
- implements Serializable, ObjectStreamConstants
- See Also:
- Serialized Form
Fields inherited from interface java.io.ObjectStreamConstants |
baseWireHandle, PROTOCOL_VERSION_1, PROTOCOL_VERSION_2, SC_BLOCK_DATA, SC_ENUM, SC_EXTERNALIZABLE, SC_SERIALIZABLE, SC_WRITE_METHOD, STREAM_MAGIC, STREAM_VERSION, SUBCLASS_IMPLEMENTATION_PERMISSION, SUBSTITUTION_PERMISSION, TC_ARRAY, TC_BASE, TC_BLOCKDATA, TC_BLOCKDATALONG, TC_CLASS, TC_CLASSDESC, TC_ENDBLOCKDATA, TC_ENUM, TC_EXCEPTION, TC_LONGSTRING, TC_MAX, TC_NULL, TC_OBJECT, TC_PROXYCLASSDESC, TC_REFERENCE, TC_RESET, TC_STRING |
flags
protected int flags
NO_FIELDS
public static final FieldDescriptor[] NO_FIELDS
fields
protected FieldDescriptor[] fields
ClassDescriptor
protected ClassDescriptor(Class clazz,
ClassDescriptor superdesc,
boolean serializable,
boolean externalizable)
writeClassInfo
protected void writeClassInfo(ObjectOutputStream out)
throws IOException
- Throws:
IOException
isSerializable
protected boolean isSerializable()
isExternalizable
protected boolean isExternalizable()
isNonSerializable
protected boolean isNonSerializable()
getFields
public FieldDescriptor[] getFields()
setFields
public void setFields(FieldDescriptor[] fields)
hasWriteObjectMethod
public boolean hasWriteObjectMethod()
hasWriteObjectMethod
public void hasWriteObjectMethod(boolean b)
getWriteObjectMethod
public Method getWriteObjectMethod()
setWriteObjectMethod
protected void setWriteObjectMethod(Method method)
hasReadObjectMethod
public boolean hasReadObjectMethod()
hasReadObjectMethod
public void hasReadObjectMethod(boolean b)
getReadObjectMethod
public Method getReadObjectMethod()
setReadObjectMethod
protected void setReadObjectMethod(Method method)
getSerialVersionUID
public long getSerialVersionUID()
setSerialVersionUID
protected void setSerialVersionUID(long suid)
getName
public String getName()
forClass
public Class forClass()
getSuperclass
protected ClassDescriptor getSuperclass()
setSuperclass
protected void setSuperclass(ClassDescriptor s)
toString
public String toString()
- Overrides:
toString
in class Object
getSignature
public static StringBuffer getSignature(Class clazz)
getSignature
public static StringBuffer getSignature(Class clazz,
StringBuffer buf)
lookup
public static ClassDescriptor lookup(Class clazz)
Copyright © 1999-2013 The Apache OpenEJB development community. All Rights Reserved.