|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openejb.util.io.ClassDescriptor
public class ClassDescriptor
Field Summary | |
---|---|
protected FieldDescriptor[] |
fields
|
protected int |
flags
|
static FieldDescriptor[] |
NO_FIELDS
|
Constructor Summary | |
---|---|
protected |
ClassDescriptor(Class clazz,
ClassDescriptor superdesc,
boolean serializable,
boolean externalizable)
|
Method Summary | |
---|---|
Class |
forClass()
Return the class in the local VM that this version is mapped to. |
FieldDescriptor[] |
getFields()
|
String |
getName()
The name of the class described by this descriptor. |
Method |
getReadObjectMethod()
|
long |
getSerialVersionUID()
Return the serialVersionUID for this class. |
static StringBuffer |
getSignature(Class clazz)
|
static StringBuffer |
getSignature(Class clazz,
StringBuffer buf)
|
protected ClassDescriptor |
getSuperclass()
|
Method |
getWriteObjectMethod()
|
boolean |
hasReadObjectMethod()
|
void |
hasReadObjectMethod(boolean b)
|
boolean |
hasWriteObjectMethod()
|
void |
hasWriteObjectMethod(boolean b)
|
protected boolean |
isExternalizable()
|
protected boolean |
isNonSerializable()
|
protected boolean |
isSerializable()
|
static ClassDescriptor |
lookup(Class clazz)
Find the descriptor for a class that can be serialized. |
void |
setFields(FieldDescriptor[] fields)
|
protected void |
setReadObjectMethod(Method method)
|
protected void |
setSerialVersionUID(long suid)
|
protected void |
setSuperclass(ClassDescriptor s)
|
protected void |
setWriteObjectMethod(Method method)
|
String |
toString()
Return a string describing this ClassDescriptor. |
protected void |
writeClassInfo(ObjectOutputStream out)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected int flags
public static final FieldDescriptor[] NO_FIELDS
protected FieldDescriptor[] fields
Constructor Detail |
---|
protected ClassDescriptor(Class clazz, ClassDescriptor superdesc, boolean serializable, boolean externalizable)
Method Detail |
---|
protected void writeClassInfo(ObjectOutputStream out) throws IOException
IOException
protected boolean isSerializable()
protected boolean isExternalizable()
protected boolean isNonSerializable()
public FieldDescriptor[] getFields()
public void setFields(FieldDescriptor[] fields)
public boolean hasWriteObjectMethod()
public void hasWriteObjectMethod(boolean b)
public Method getWriteObjectMethod()
protected void setWriteObjectMethod(Method method)
public boolean hasReadObjectMethod()
public void hasReadObjectMethod(boolean b)
public Method getReadObjectMethod()
protected void setReadObjectMethod(Method method)
public long getSerialVersionUID()
protected void setSerialVersionUID(long suid)
public String getName()
public Class forClass()
protected ClassDescriptor getSuperclass()
protected void setSuperclass(ClassDescriptor s)
public String toString()
toString
in class Object
public static StringBuffer getSignature(Class clazz)
public static StringBuffer getSignature(Class clazz, StringBuffer buf)
public static ClassDescriptor lookup(Class clazz)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |