org.jvnet.hk2.config
Class Transactions.ConfigListenerNotifier

java.lang.Object
  extended by org.jvnet.hk2.config.Transactions.ConfigListenerNotifier
Enclosing class:
Transactions

public class Transactions.ConfigListenerNotifier
extends java.lang.Object

Configuration listener notification pump. All Listeners are notified within their own thread, only on thread takes care of the job pump.


Constructor Summary
Transactions.ConfigListenerNotifier()
           
 
Method Summary
protected  java.util.concurrent.FutureTask<UnprocessedChangeEvents> prepare(org.jvnet.hk2.config.Transactions.Job<ConfigListener,java.beans.PropertyChangeEvent,UnprocessedChangeEvents> job)
          Creates the task that will notify the listeners of a particular job.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Transactions.ConfigListenerNotifier

public Transactions.ConfigListenerNotifier()
Method Detail

prepare

protected java.util.concurrent.FutureTask<UnprocessedChangeEvents> prepare(org.jvnet.hk2.config.Transactions.Job<ConfigListener,java.beans.PropertyChangeEvent,UnprocessedChangeEvents> job)
Creates the task that will notify the listeners of a particular job.

Parameters:
job - contains the specifics of the notification like the events that need to be notified.
Returns:
a task that can be run and return an optional value.


Copyright © 2011 Oracle Corporation. All Rights Reserved.