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

java.lang.Object
  extended by com.ebmwebsourcing.easyviper.core.impl.env.ExternalEnvironmentImpl
All Implemented Interfaces:
com.ebmwebsourcing.easyviper.core.api.engine.Element, com.ebmwebsourcing.easyviper.core.api.engine.FractalComponent, com.ebmwebsourcing.easyviper.core.api.env.ExternalEnvironment, java.io.Serializable

public class ExternalEnvironmentImpl
extends java.lang.Object
implements com.ebmwebsourcing.easyviper.core.api.env.ExternalEnvironment

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

Field Summary
static java.lang.String DEFAULT_EXTERNAL_ENVIRONMENT_NAME
           
 
Constructor Summary
ExternalEnvironmentImpl()
          Default Constructor
 
Method Summary
 com.ebmwebsourcing.easyviper.core.api.env.Receiver addReceiver(java.lang.Class<? extends com.ebmwebsourcing.easyviper.core.api.env.Receiver> receiverClass, com.ebmwebsourcing.easyviper.core.api.soa.message.MessageConverter messageConverter)
           
 com.ebmwebsourcing.easyviper.core.api.env.Sender addSender(java.lang.Class<? extends com.ebmwebsourcing.easyviper.core.api.env.Sender> senderClass, com.ebmwebsourcing.easyviper.core.api.soa.message.MessageConverter messageConverter)
           
 void create()
          Start the scope behaviour
 void destroy()
          Start the scope behaviour
 org.objectweb.fractal.api.Component getComponent()
           
 com.ebmwebsourcing.easyviper.core.api.engine.Engine getEngine()
           
 java.lang.String getName()
           
 java.util.List<com.ebmwebsourcing.easyviper.core.api.env.Receiver> getReceivers()
           
 java.util.List<com.ebmwebsourcing.easyviper.core.api.env.Sender> getSenders()
           
 void init(org.objectweb.fractal.api.Component fractalNode)
           
 void setLog(java.util.logging.Logger logger)
           
 void setName(java.lang.String name)
           
 void start()
          Start the scope behaviour
 void stop()
          Stop the scope behaviour
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_EXTERNAL_ENVIRONMENT_NAME

public static final java.lang.String DEFAULT_EXTERNAL_ENVIRONMENT_NAME
See Also:
Constant Field Values
Constructor Detail

ExternalEnvironmentImpl

public ExternalEnvironmentImpl()
                        throws com.ebmwebsourcing.easyviper.core.api.CoreException
Default Constructor

Throws:
org.objectweb.fractal.adl.ADLException
com.ebmwebsourcing.easyviper.core.api.CoreException
Method Detail

create

public void create()
            throws com.ebmwebsourcing.easyviper.core.api.CoreException
Start 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 scope 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 scope 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
Start the scope behaviour

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

addReceiver

public com.ebmwebsourcing.easyviper.core.api.env.Receiver addReceiver(java.lang.Class<? extends com.ebmwebsourcing.easyviper.core.api.env.Receiver> receiverClass,
                                                                      com.ebmwebsourcing.easyviper.core.api.soa.message.MessageConverter messageConverter)
                                                               throws com.ebmwebsourcing.easyviper.core.api.CoreException
Specified by:
addReceiver in interface com.ebmwebsourcing.easyviper.core.api.env.ExternalEnvironment
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

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

getReceivers

public java.util.List<com.ebmwebsourcing.easyviper.core.api.env.Receiver> getReceivers()
                                                                                throws com.ebmwebsourcing.easyviper.core.api.CoreException
Specified by:
getReceivers in interface com.ebmwebsourcing.easyviper.core.api.env.ExternalEnvironment
Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException

addSender

public com.ebmwebsourcing.easyviper.core.api.env.Sender addSender(java.lang.Class<? extends com.ebmwebsourcing.easyviper.core.api.env.Sender> senderClass,
                                                                  com.ebmwebsourcing.easyviper.core.api.soa.message.MessageConverter messageConverter)
                                                           throws com.ebmwebsourcing.easyviper.core.api.CoreException
Specified by:
addSender in interface com.ebmwebsourcing.easyviper.core.api.env.ExternalEnvironment
Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException

getSenders

public java.util.List<com.ebmwebsourcing.easyviper.core.api.env.Sender> getSenders()
                                                                            throws com.ebmwebsourcing.easyviper.core.api.CoreException
Specified by:
getSenders in interface com.ebmwebsourcing.easyviper.core.api.env.ExternalEnvironment
Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException

getEngine

public com.ebmwebsourcing.easyviper.core.api.engine.Engine getEngine()
Specified by:
getEngine in interface com.ebmwebsourcing.easyviper.core.api.env.ExternalEnvironment

setLog

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


Copyright © 2009 eBM WebSourcing. All Rights Reserved.