org.objectweb.dream.channel
Class DestinationResolverChunkBasedImpl
java.lang.Object
org.objectweb.dream.AbstractComponent
org.objectweb.dream.channel.DestinationResolverChunkBasedImpl
- All Implemented Interfaces:
- DestinationResolver, DestinationResolverChunkBasedAttributeController, ContextualBindingController, NeedAsyncStartController, PrepareStopLifeCycleController, Loggable, AttributeController, BindingController, LifeCycleController
public class DestinationResolverChunkBasedImpl
- extends AbstractComponent
- implements DestinationResolver, DestinationResolverChunkBasedAttributeController
Destination resolver that retrieves ExportIdentifier
if a
ExportIdentifierChunk
contained in the
message.
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 |
deleteChunk
protected boolean deleteChunk
destinationChunkName
protected String destinationChunkName
messageManagerItf
protected MessageManager messageManagerItf
DestinationResolverChunkBasedImpl
public DestinationResolverChunkBasedImpl()
resolveDestination
public ExportIdentifier resolveDestination(Message message)
throws PushException
- Description copied from interface:
DestinationResolver
- Return the
ExportIdentifier
which identifies the destination of the
given message.
- Specified by:
resolveDestination
in interface DestinationResolver
- Parameters:
message
- a message.
- Returns:
- the destination identifier of the message.
- Throws:
PushException
- if something goes wrong.- See Also:
DestinationResolver.resolveDestination(Message)
getDeleteChunk
public boolean getDeleteChunk()
- Description copied from interface:
DestinationResolverChunkBasedAttributeController
- Returns
true
if the destination chunk must be deleted from
the message. The default value is true
- Specified by:
getDeleteChunk
in interface DestinationResolverChunkBasedAttributeController
- Returns:
true
if the destination chunk must be deleted from
the message.- See Also:
DestinationResolverChunkBasedAttributeController.getDeleteChunk()
setDeleteChunk
public void setDeleteChunk(boolean deleteChunk)
- Description copied from interface:
DestinationResolverChunkBasedAttributeController
- Set if the destination chunk must be deleted from the message.
- Specified by:
setDeleteChunk
in interface DestinationResolverChunkBasedAttributeController
- Parameters:
deleteChunk
- true
if the destination chunk must be
deleted from the message.- See Also:
DestinationResolverChunkBasedAttributeController.setDeleteChunk(boolean)
getDestinationChunkName
public String getDestinationChunkName()
- Description copied from interface:
DestinationResolverChunkBasedAttributeController
- Returns the name of the chunks that contains the destination identification
of the message.
- Specified by:
getDestinationChunkName
in interface DestinationResolverChunkBasedAttributeController
- Returns:
- a chunk name.
- See Also:
DestinationResolverChunkBasedAttributeController.getDestinationChunkName()
setDestinationChunkName
public void setDestinationChunkName(String destinationChunkName)
- Description copied from interface:
DestinationResolverChunkBasedAttributeController
- Set the name of the chunks that contains the destination identification of
the message.
- Specified by:
setDestinationChunkName
in interface DestinationResolverChunkBasedAttributeController
- Parameters:
destinationChunkName
- a chunk name.- See Also:
DestinationResolverChunkBasedAttributeController.setDestinationChunkName(String)
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.