com.ebmwebsourcing.easyviper.core.impl.env
Class AbstractReceiverImpl
java.lang.Object
com.ebmwebsourcing.easyviper.core.impl.env.AbstractReceiverImpl
- All Implemented Interfaces:
- com.ebmwebsourcing.easyviper.core.api.engine.Element, com.ebmwebsourcing.easyviper.core.api.engine.FractalComponent, com.ebmwebsourcing.easyviper.core.api.env.Receiver, java.io.Serializable
- Direct Known Subclasses:
- MemoryReceiverImpl
public abstract class AbstractReceiverImpl
- extends java.lang.Object
- implements com.ebmwebsourcing.easyviper.core.api.env.Receiver
- Author:
- Nicolas Salatge - eBM WebSourcing
- See Also:
- Serialized Form
|
Field Summary |
protected com.ebmwebsourcing.easyviper.core.api.soa.message.MessageConverter |
messageConverter
|
|
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)
|
boolean |
isTaken()
|
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 |
setTaken(boolean taken)
|
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.Receiver |
accept |
messageConverter
protected com.ebmwebsourcing.easyviper.core.api.soa.message.MessageConverter messageConverter
AbstractReceiverImpl
public AbstractReceiverImpl()
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.Receiver
getMessageConverter
public com.ebmwebsourcing.easyviper.core.api.soa.message.MessageConverter getMessageConverter()
- Specified by:
getMessageConverter in interface com.ebmwebsourcing.easyviper.core.api.env.Receiver
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.Receiver
- Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException
isTaken
public boolean isTaken()
- Specified by:
isTaken in interface com.ebmwebsourcing.easyviper.core.api.env.Receiver
setTaken
public void setTaken(boolean taken)
- Specified by:
setTaken in interface com.ebmwebsourcing.easyviper.core.api.env.Receiver
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.Receiver
Copyright © 2009 eBM WebSourcing. All Rights Reserved.