org.objectweb.dream.message.codec
Class AbstractDelegatingMessageCodecImpl

java.lang.Object
  extended by org.objectweb.dream.AbstractComponent
      extended by org.objectweb.dream.message.codec.AbstractDelegatingMessageCodecImpl
All Implemented Interfaces:
ContextualBindingController, NeedAsyncStartController, PrepareStopLifeCycleController, Loggable, MessageCodec, BindingController, LifeCycleController
Direct Known Subclasses:
MessageCodecHelperCompositeMessageDataStreamImpl, MessageCodecHelperObjectStreamImpl, MessageCodecPrimitiveObjectStreamImpl

public abstract class AbstractDelegatingMessageCodecImpl
extends AbstractComponent
implements MessageCodec

Abstract class for message codec using a delegate client interface.


Field Summary
static String DELEATE_MESSAGE_CODEC_ITF_NAME
          The name of the client interface used to delegate message encoding/decoding
protected  MessageCodec delegateMessageCodecItf
           
protected  MessageManager messageManagerItf
           
 
Fields inherited from class org.objectweb.dream.AbstractComponent
bindingLogger, fcNeedAsyncStart, fcState, lifeCycleLogger, logger, weaveableC
 
Fields inherited from interface org.objectweb.dream.message.codec.MessageCodec
ITF_NAME
 
Fields inherited from interface org.objectweb.fractal.api.control.LifeCycleController
STARTED, STOPPED
 
Constructor Summary
AbstractDelegatingMessageCodecImpl()
           
 
Method Summary
 void bindFc(String clientItfName, Object serverItf)
           
 String[] listFc()
           
 
Methods inherited from class org.objectweb.dream.AbstractComponent
beforeFirstStart, 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
 
Methods inherited from interface org.objectweb.dream.message.codec.MessageCodec
decode, encode
 

Field Detail

DELEATE_MESSAGE_CODEC_ITF_NAME

public static final String DELEATE_MESSAGE_CODEC_ITF_NAME
The name of the client interface used to delegate message encoding/decoding

See Also:
Constant Field Values

messageManagerItf

protected MessageManager messageManagerItf

delegateMessageCodecItf

protected MessageCodec delegateMessageCodecItf
Constructor Detail

AbstractDelegatingMessageCodecImpl

public AbstractDelegatingMessageCodecImpl()
Method Detail

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(String, Object)


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