|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.openorb.orb.rmi.NullDeserializationKernel
A DeserializationKernel
that throws UnsupportedOperationException
for every operation. Using this implementation is sufficient for scenarios without
RMI/IIOP and avoids the neccessity to create a platform dependent kernel. See
DeserializationKernelFactory
why a DeserializationKernel is required for RMI/IIOP.
Constructor Summary | |
NullDeserializationKernel()
|
Method Summary | |
java.lang.Object |
allocateNewObject(java.lang.Class c,
java.lang.Class base)
This class allocates an instance of a class. |
void |
setBooleanField(java.lang.Class c,
java.lang.String n,
java.lang.Object o,
boolean v)
Set the member field of a class instance. |
void |
setByteField(java.lang.Class c,
java.lang.String n,
java.lang.Object o,
byte v)
Set the member field of a class instance. |
void |
setCharField(java.lang.Class c,
java.lang.String n,
java.lang.Object o,
char v)
Set the member field of a class instance. |
void |
setDoubleField(java.lang.Class c,
java.lang.String n,
java.lang.Object o,
double v)
Set the member field of a class instance. |
void |
setFloatField(java.lang.Class c,
java.lang.String n,
java.lang.Object o,
float v)
Set the member field of a class instance. |
void |
setIntField(java.lang.Class c,
java.lang.String n,
java.lang.Object o,
int v)
Set the member field of a class instance. |
void |
setLongField(java.lang.Class c,
java.lang.String n,
java.lang.Object o,
long v)
Set the member field of a class instance. |
void |
setObjectField(java.lang.Class c,
java.lang.String n,
java.lang.Object o,
java.lang.Object v)
Set the member field of a class instance. |
void |
setShortField(java.lang.Class c,
java.lang.String n,
java.lang.Object o,
short v)
Set the member field of a class instance. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public NullDeserializationKernel()
Method Detail |
public java.lang.Object allocateNewObject(java.lang.Class c, java.lang.Class base) throws java.lang.InstantiationException, java.lang.IllegalAccessException
DeserializationKernel
allocateNewObject
in interface DeserializationKernel
org.openorb.orb.rmi.DeserializationKernel
c
- The class to allocate memory for.base
- The enclosing class when c is a non-static inner class.java.lang.InstantiationException
- When the object can be instantiated.java.lang.IllegalAccessException
- When the object can't be accessed.public void setObjectField(java.lang.Class c, java.lang.String n, java.lang.Object o, java.lang.Object v)
DeserializationKernel
setObjectField
in interface DeserializationKernel
org.openorb.orb.rmi.DeserializationKernel
c
- The type of the class.n
- The name of the member field.o
- The instance of the class c.v
- The value to assign to the field n on instance o.public void setBooleanField(java.lang.Class c, java.lang.String n, java.lang.Object o, boolean v)
DeserializationKernel
setBooleanField
in interface DeserializationKernel
org.openorb.orb.rmi.DeserializationKernel
c
- The type of the class.n
- The name of the member field.o
- The instance of the class c.v
- The value to assign to the field n on instance o.public void setByteField(java.lang.Class c, java.lang.String n, java.lang.Object o, byte v)
DeserializationKernel
setByteField
in interface DeserializationKernel
org.openorb.orb.rmi.DeserializationKernel
c
- The type of the class.n
- The name of the member field.o
- The instance of the class c.v
- The value to assign to the field n on instance o.public void setCharField(java.lang.Class c, java.lang.String n, java.lang.Object o, char v)
DeserializationKernel
setCharField
in interface DeserializationKernel
org.openorb.orb.rmi.DeserializationKernel
c
- The type of the class.n
- The name of the member field.o
- The instance of the class c.v
- The value to assign to the field n on instance o.public void setShortField(java.lang.Class c, java.lang.String n, java.lang.Object o, short v)
DeserializationKernel
setShortField
in interface DeserializationKernel
org.openorb.orb.rmi.DeserializationKernel
c
- The type of the class.n
- The name of the member field.o
- The instance of the class c.v
- The value to assign to the field n on instance o.public void setIntField(java.lang.Class c, java.lang.String n, java.lang.Object o, int v)
DeserializationKernel
setIntField
in interface DeserializationKernel
org.openorb.orb.rmi.DeserializationKernel
c
- The type of the class.n
- The name of the member field.o
- The instance of the class c.v
- The value to assign to the field n on instance o.public void setLongField(java.lang.Class c, java.lang.String n, java.lang.Object o, long v)
DeserializationKernel
setLongField
in interface DeserializationKernel
org.openorb.orb.rmi.DeserializationKernel
c
- The type of the class.n
- The name of the member field.o
- The instance of the class c.v
- The value to assign to the field n on instance o.public void setFloatField(java.lang.Class c, java.lang.String n, java.lang.Object o, float v)
DeserializationKernel
setFloatField
in interface DeserializationKernel
org.openorb.orb.rmi.DeserializationKernel
c
- The type of the class.n
- The name of the member field.o
- The instance of the class c.v
- The value to assign to the field n on instance o.public void setDoubleField(java.lang.Class c, java.lang.String n, java.lang.Object o, double v)
DeserializationKernel
setDoubleField
in interface DeserializationKernel
org.openorb.orb.rmi.DeserializationKernel
c
- The type of the class.n
- The name of the member field.o
- The instance of the class c.v
- The value to assign to the field n on instance o.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |