|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SerializationHandlerV10
Application could implement this interface and register with failover service to handle serialization/deserialization of resource beans. Failover serivce will invoke this handleResource Method then.
| Field Summary | |
|---|---|
static int |
TYPE_FAILOVER
failover case. |
static int |
TYPE_PASSIVATION
passivation case. |
| Method Summary | |
|---|---|
Object |
handleResource(javax.enterprise.inject.spi.Bean<?> bean,
Object resourceObject,
ObjectInput in,
ObjectOutput out,
int type)
Application provided custom handler for serialize and deserialize resource beans. |
| Field Detail |
|---|
static final int TYPE_FAILOVER
static final int TYPE_PASSIVATION
| Method Detail |
|---|
Object handleResource(javax.enterprise.inject.spi.Bean<?> bean,
Object resourceObject,
ObjectInput in,
ObjectOutput out,
int type)
bean - The resource bean.resourceObject - The resource bean instancein - The input object streamout - The output object streamtype - TYPE_FAILOVER or TYPE_PASSIVATION
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||