org.apache.aries.jpa.container.context.impl
Class QuiesceParticipantImpl

java.lang.Object
  extended by org.apache.aries.jpa.container.context.impl.QuiesceParticipantImpl
All Implemented Interfaces:
DestroyCallback, org.apache.aries.quiesce.participant.QuiesceParticipant

public class QuiesceParticipantImpl
extends Object
implements org.apache.aries.quiesce.participant.QuiesceParticipant, DestroyCallback

This class provides Quiesce Participant support for JPA managed contexts. It is the only class in this bundle that depends on the Quiesce API to make sure that the bundle can optionally depend on the API. If no Quiesce API is available then this class will not be loaded and no Quiesce support will be available.


Constructor Summary
QuiesceParticipantImpl(GlobalPersistenceManager mgr)
           
 
Method Summary
 void callback()
          Close down this object
 void quiesce(org.apache.aries.quiesce.manager.QuiesceCallback qc, List<org.osgi.framework.Bundle> arg1)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QuiesceParticipantImpl

public QuiesceParticipantImpl(GlobalPersistenceManager mgr)
Method Detail

quiesce

public void quiesce(org.apache.aries.quiesce.manager.QuiesceCallback qc,
                    List<org.osgi.framework.Bundle> arg1)
Specified by:
quiesce in interface org.apache.aries.quiesce.participant.QuiesceParticipant

callback

public void callback()
Close down this object

Specified by:
callback in interface DestroyCallback


Copyright © 2009-2012 The Apache Software Foundation. All Rights Reserved.