public interface PassivationManager<K,V extends Identifiable<K>>
Modifier and Type | Method and Description |
---|---|
org.jboss.marshalling.MarshallingConfiguration |
getMarshallingConfiguration() |
void |
postActivate(V obj)
This method is called after an object has been retrieved deserialized after passivation.
|
void |
prePassivate(V obj)
This method is called before an object is serialized for passivation.
|
void postActivate(V obj)
obj
- the objectvoid prePassivate(V obj)
obj
- the objectIllegalStateException
- if obj
, or another object in the same serialization group as obj
,
is in use. Checking if an object is in use and throwing this exception is not required, so callers should not
assume it will be thrown.org.jboss.marshalling.MarshallingConfiguration getMarshallingConfiguration()
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.