org.objectweb.dream
Class PushToPush1Impl

java.lang.Object
  extended byorg.objectweb.dream.AbstractComponent
      extended byorg.objectweb.dream.PushToPush1Impl
All Implemented Interfaces:
BindingController, LifeCycleController, Loggable, Push

public class PushToPush1Impl
extends AbstractComponent
implements Push

This component forwards calls received on its Push input to its Push1 output.


Field Summary
 
Fields inherited from class org.objectweb.dream.AbstractComponent
bindingLogger, componentDesc, fcState, firstStart, lifeCycleLogger, logger, weaveableC
 
Fields inherited from interface org.objectweb.dream.Push
IN_PUSH_ITF_NAME, OUT_PUSH_ITF_NAME
 
Fields inherited from interface org.objectweb.fractal.api.control.LifeCycleController
STARTED, STOPPED
 
Constructor Summary
PushToPush1Impl()
           
 
Method Summary
 void bindFc(String clientItfName, Object serverItf)
           
 String[] listFc()
           
 void push(Message message, Map context)
          Gives a message to a component.
 
Methods inherited from class org.objectweb.dream.AbstractComponent
beforeFirstStart, getFcState, initComponent, lookupFc, setLogger, startFc, stopFc, unbindFc
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PushToPush1Impl

public PushToPush1Impl()
Method Detail

push

public void push(Message message,
                 Map context)
          throws PushException
Description copied from interface: Push
Gives a message to a component.

Specified by:
push in interface Push
Parameters:
message - the message to give to the component.
context - a general purpose context map. can be null.
Throws:
PushException - if an exception occurs.
See Also:
Push1.push1(org.objectweb.dream.message.Message, java.util.Map)

listFc

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

bindFc

public void bindFc(String clientItfName,
                   Object serverItf)
            throws NoSuchInterfaceException,
                   IllegalBindingException,
                   IllegalLifeCycleException
Specified by:
bindFc in interface BindingController
Overrides:
bindFc in class AbstractComponent
Throws:
NoSuchInterfaceException
IllegalBindingException
IllegalLifeCycleException
See Also:
BindingController.bindFc(java.lang.String, java.lang.Object)


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