org.jboss.ejb3.cache.impl
Class PassivationGroupContainer

java.lang.Object
  extended by org.jboss.ejb3.cache.impl.PassivationGroupContainer
All Implemented Interfaces:
PassivationManager<PassivationGroup>, StatefulObjectFactory<PassivationGroup>

public class PassivationGroupContainer
extends Object
implements StatefulObjectFactory<PassivationGroup>, PassivationManager<PassivationGroup>

Comment

Version:
$Revision: 69058 $
Author:
Carlo de Wolf

Constructor Summary
PassivationGroupContainer()
           
 
Method Summary
 PassivationGroup create(Class<?>[] initTypes, Object[] initValues)
          Creates a new stateful object by calling it's empty constructor, do injection, calling post-construct and finally calling the appropriate init method.
 void destroy(PassivationGroup obj)
          Perform any cleanup actions on the object, such as calling the pre-destroy callback.
 void postActivate(PassivationGroup obj)
          This method is called after an object has been retrieved from an ObjectStore.
 void prePassivate(PassivationGroup obj)
          This method is called before an object is serialized into an ObjectStore.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PassivationGroupContainer

public PassivationGroupContainer()
Method Detail

create

public PassivationGroup create(Class<?>[] initTypes,
                               Object[] initValues)
Description copied from interface: StatefulObjectFactory
Creates a new stateful object by calling it's empty constructor, do injection, calling post-construct and finally calling the appropriate init method.

Specified by:
create in interface StatefulObjectFactory<PassivationGroup>
Parameters:
initTypes - the argument types for the init method
initValues - the arguments for the init method
Returns:

destroy

public void destroy(PassivationGroup obj)
Description copied from interface: StatefulObjectFactory
Perform any cleanup actions on the object, such as calling the pre-destroy callback.

Specified by:
destroy in interface StatefulObjectFactory<PassivationGroup>
Parameters:
obj - the object

postActivate

public void postActivate(PassivationGroup obj)
Description copied from interface: PassivationManager
This method is called after an object has been retrieved from an ObjectStore.

Specified by:
postActivate in interface PassivationManager<PassivationGroup>
Parameters:
obj - the object

prePassivate

public void prePassivate(PassivationGroup obj)
Description copied from interface: PassivationManager
This method is called before an object is serialized into an ObjectStore.

Specified by:
prePassivate in interface PassivationManager<PassivationGroup>
Parameters:
obj - the object


Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.