public interface Beans
Modifier and Type | Field and Description |
---|---|
static String |
PROPERTY_NAME |
Modifier and Type | Method and Description |
---|---|
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.
|
static final String PROPERTY_NAME
boolean isProxy(Object instance)
instance
- The object which might be a proxybyte[] passivate(Object instance) throws IOException
instance
- The bean instance to serializeIOException
Object activate(byte[] bytes) throws IOException, ClassNotFoundException
bytes
- The serialized byte stream of a bean instanceIOException
ClassNotFoundException
Copyright © 2008–2019 Jakarta CDI TCK. All rights reserved.