com.ebmwebsourcing.easyviper.core.impl.env
Class AbstractSenderImpl

Package class diagram package AbstractSenderImpl
java.lang.Object
  extended by com.ebmwebsourcing.easyviper.core.impl.env.AbstractSenderImpl
All Implemented Interfaces:
com.ebmwebsourcing.easyviper.core.api.engine.Element, com.ebmwebsourcing.easyviper.core.api.engine.FractalComponent, com.ebmwebsourcing.easyviper.core.api.env.Sender, java.io.Serializable
Direct Known Subclasses:
SysoutSenderImpl

public abstract class AbstractSenderImpl
extends java.lang.Object
implements com.ebmwebsourcing.easyviper.core.api.env.Sender

Author:
Nicolas Salatge - eBM WebSourcing
See Also:
Serialized Form

Field Summary
protected  com.ebmwebsourcing.easyviper.core.api.soa.message.MessageConverter messageConverter
           
 
Constructor Summary
AbstractSenderImpl()
           
 
Method Summary
 void create()
          Create the scope behaviour
 void destroy()
          Destroy the NodeImpl behaviour
 org.objectweb.fractal.api.Component getComponent()
           
 com.ebmwebsourcing.easyviper.core.api.env.ExternalEnvironment getExternalEnvironment()
           
 com.ebmwebsourcing.easyviper.core.api.soa.message.MessageConverter getMessageConverter()
           
 java.lang.String getName()
           
 void init(org.objectweb.fractal.api.Component fractalNode)
           
 void setLog(java.util.logging.Logger logger)
           
 void setMessageConverter(com.ebmwebsourcing.easyviper.core.api.soa.message.MessageConverter messageConverter)
           
 void setName(java.lang.String name)
           
 void start()
          Start the NodeImpl behaviour
 void stop()
          Stop the NodeImpl behaviour
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.ebmwebsourcing.easyviper.core.api.env.Sender
sendSyncTo, sendTo, sendTo
 

Field Detail

messageConverter

protected com.ebmwebsourcing.easyviper.core.api.soa.message.MessageConverter messageConverter
Constructor Detail

AbstractSenderImpl

public AbstractSenderImpl()
Method Detail

create

public void create()
            throws com.ebmwebsourcing.easyviper.core.api.CoreException
Create the scope behaviour

Specified by:
create in interface com.ebmwebsourcing.easyviper.core.api.engine.FractalComponent
Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException

init

public void init(org.objectweb.fractal.api.Component fractalNode)
          throws com.ebmwebsourcing.easyviper.core.api.CoreException
Specified by:
init in interface com.ebmwebsourcing.easyviper.core.api.engine.FractalComponent
Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException

start

public void start()
           throws com.ebmwebsourcing.easyviper.core.api.CoreException
Start the NodeImpl behaviour

Specified by:
start in interface com.ebmwebsourcing.easyviper.core.api.engine.FractalComponent
Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException

stop

public void stop()
          throws com.ebmwebsourcing.easyviper.core.api.CoreException
Stop the NodeImpl behaviour

Specified by:
stop in interface com.ebmwebsourcing.easyviper.core.api.engine.FractalComponent
Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException

destroy

public void destroy()
             throws com.ebmwebsourcing.easyviper.core.api.CoreException
Destroy the NodeImpl behaviour

Specified by:
destroy in interface com.ebmwebsourcing.easyviper.core.api.engine.FractalComponent
Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException

getName

public java.lang.String getName()
                         throws com.ebmwebsourcing.easyviper.core.api.CoreException
Specified by:
getName in interface com.ebmwebsourcing.easyviper.core.api.engine.FractalComponent
Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException

setName

public void setName(java.lang.String name)
             throws com.ebmwebsourcing.easyviper.core.api.CoreException
Specified by:
setName in interface com.ebmwebsourcing.easyviper.core.api.engine.FractalComponent
Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException

getComponent

public org.objectweb.fractal.api.Component getComponent()
Specified by:
getComponent in interface com.ebmwebsourcing.easyviper.core.api.engine.FractalComponent

setMessageConverter

public void setMessageConverter(com.ebmwebsourcing.easyviper.core.api.soa.message.MessageConverter messageConverter)
Specified by:
setMessageConverter in interface com.ebmwebsourcing.easyviper.core.api.env.Sender

getMessageConverter

public com.ebmwebsourcing.easyviper.core.api.soa.message.MessageConverter getMessageConverter()
Specified by:
getMessageConverter in interface com.ebmwebsourcing.easyviper.core.api.env.Sender

getExternalEnvironment

public com.ebmwebsourcing.easyviper.core.api.env.ExternalEnvironment getExternalEnvironment()
                                                                                     throws com.ebmwebsourcing.easyviper.core.api.CoreException
Specified by:
getExternalEnvironment in interface com.ebmwebsourcing.easyviper.core.api.env.Sender
Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException

setLog

public void setLog(java.util.logging.Logger logger)
Specified by:
setLog in interface com.ebmwebsourcing.easyviper.core.api.engine.Element
Specified by:
setLog in interface com.ebmwebsourcing.easyviper.core.api.env.Sender


Copyright © 2009-2010 eBM WebSourcing. All Rights Reserved.