org.objectweb.dream.pushwithreturn
Class WaitingKeysImpl

java.lang.Object
  extended by org.objectweb.dream.AbstractComponent
      extended by org.objectweb.dream.pushwithreturn.WaitingKeysImpl
All Implemented Interfaces:
ContextualBindingController, NeedAsyncStartController, PrepareStopLifeCycleController, Loggable, WaitingKeys, BindingController, LifeCycleController

public class WaitingKeysImpl
extends AbstractComponent
implements WaitingKeys

TODO


Field Summary
 
Fields inherited from class org.objectweb.dream.AbstractComponent
bindingLogger, fcNeedAsyncStart, fcState, lifeCycleLogger, logger, weaveableC
 
Fields inherited from interface org.objectweb.dream.pushwithreturn.WaitingKeys
ITF_NAME
 
Fields inherited from interface org.objectweb.fractal.api.control.LifeCycleController
STARTED, STOPPED
 
Constructor Summary
WaitingKeysImpl()
           
 
Method Summary
 WaitingKey createWaitingKey(Key key)
          Creates a WaitingKeyobject for the given key.
 String[] listFc()
           
 WaitingKey removeWaitingKey(Key key)
          Returns the WaitingKeyobject corresponding to the given key.
 Iterator removeWaitingKeys(Key key)
          Returns an iterator over WaitingKeyobjects corresponding to the keys that are associated to the given key (that is an "isAll" key).
 
Methods inherited from class org.objectweb.dream.AbstractComponent
beforeFirstStart, bindFc, bindFc, getFcNeedAsyncStart, getFcState, initComponent, lookupFc, prepareStopFc, setLogger, startFc, stopFc, unbindFc
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WaitingKeysImpl

public WaitingKeysImpl()
Method Detail

removeWaitingKey

public WaitingKey removeWaitingKey(Key key)
Description copied from interface: WaitingKeys
Returns the WaitingKeyobject corresponding to the given key.

Specified by:
removeWaitingKey in interface WaitingKeys
Parameters:
key - the key that maps the returned WaitingKey object.
Returns:
a WaitingKey object if one maps the given key, null otherwise.
See Also:
WaitingKeys.removeWaitingKey(Key)

removeWaitingKeys

public Iterator removeWaitingKeys(Key key)
Description copied from interface: WaitingKeys
Returns an iterator over WaitingKeyobjects corresponding to the keys that are associated to the given key (that is an "isAll" key).

Specified by:
removeWaitingKeys in interface WaitingKeys
Parameters:
key - the "isAll" key that maps the returned keys.
Returns:
an iterator over WaitingKey objects.
See Also:
WaitingKeys.removeWaitingKeys(Key)

createWaitingKey

public WaitingKey createWaitingKey(Key key)
Description copied from interface: WaitingKeys
Creates a WaitingKeyobject for the given key.

Specified by:
createWaitingKey in interface WaitingKeys
Parameters:
key - the key for which a WaitingKey object must be created.
Returns:
the created WaitingKey object.
See Also:
WaitingKeys.createWaitingKey(Key)

listFc

public String[] listFc()
Specified by:
listFc in interface BindingController
See Also:
BindingController.listFc()


Copyright © 2003, 2005 - INRIA Rhone-Alpes - All Rights Reserved.