|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Beans
Provides Bean related operations. The TCK porting package must provide an implementation of this interface which is suitable for the target implementation. This interface may be removed.
| Field Summary | |
|---|---|
static String |
PROPERTY_NAME
|
| Method Summary | |
|---|---|
Object |
activate(byte[] bytes)
Activates a bean instance from the given serialized bytes. |
boolean |
isProxy(Object instance)
Determines if the object instance is actually a proxy object. |
byte[] |
passivate(Object instance)
Passivates the object tree starting with the bean instance provided. |
| Field Detail |
|---|
static final String PROPERTY_NAME
| Method Detail |
|---|
boolean isProxy(Object instance)
instance - The object which might be a proxy
byte[] passivate(Object instance)
throws IOException
instance - The bean instance to serialize
IOException
Object activate(byte[] bytes)
throws IOException,
ClassNotFoundException
bytes - The serialized byte stream of a bean instance
IOException
ClassNotFoundException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||