com.ebmwebsourcing.easyviper.environment.test.env.impl
Class ClientEndpointImpl

java.lang.Object
  extended by com.ebmwebsourcing.easyviper.environment.test.env.impl.ClientEndpointImpl
All Implemented Interfaces:
com.ebmwebsourcing.easyviper.core.api.engine.Element, com.ebmwebsourcing.easyviper.core.api.engine.FractalComponent, ClientEndpoint, Endpoint, java.io.Serializable

public class ClientEndpointImpl
extends java.lang.Object
implements ClientEndpoint

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

Constructor Summary
ClientEndpointImpl()
          Default constructor
 
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.CoreException getException()
           
 ExecutionEnvironmentTest getExecutionEnvironmentTest()
           
 java.lang.String getName()
           
 com.ebmwebsourcing.easyviper.core.api.soa.message.ExternalMessage getResponse()
           
 void init(org.objectweb.fractal.api.Component fractalNode)
           
 void send(com.ebmwebsourcing.easyviper.core.api.soa.message.ExternalMessage message)
           
 com.ebmwebsourcing.easyviper.core.api.soa.message.ExternalMessage sendSync(com.ebmwebsourcing.easyviper.core.api.soa.message.ExternalMessage message)
           
 void setException(com.ebmwebsourcing.easyviper.core.api.CoreException exception)
           
 void setLog(java.util.logging.Logger logger)
           
 void setName(java.lang.String name)
           
 void setResponse(com.ebmwebsourcing.easyviper.core.api.soa.message.ExternalMessage message)
           
 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
 

Constructor Detail

ClientEndpointImpl

public ClientEndpointImpl()
Default constructor

Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException
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

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

send

public void send(com.ebmwebsourcing.easyviper.core.api.soa.message.ExternalMessage message)
          throws com.ebmwebsourcing.easyviper.core.api.CoreException
Specified by:
send in interface ClientEndpoint
Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException

sendSync

public com.ebmwebsourcing.easyviper.core.api.soa.message.ExternalMessage sendSync(com.ebmwebsourcing.easyviper.core.api.soa.message.ExternalMessage message)
                                                                           throws com.ebmwebsourcing.easyviper.core.api.CoreException
Specified by:
sendSync in interface ClientEndpoint
Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException

getExecutionEnvironmentTest

public ExecutionEnvironmentTest getExecutionEnvironmentTest()
                                                     throws com.ebmwebsourcing.easyviper.core.api.CoreException
Specified by:
getExecutionEnvironmentTest in interface ClientEndpoint
Specified by:
getExecutionEnvironmentTest in interface Endpoint
Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException

getResponse

public com.ebmwebsourcing.easyviper.core.api.soa.message.ExternalMessage getResponse()
Specified by:
getResponse in interface ClientEndpoint

setResponse

public void setResponse(com.ebmwebsourcing.easyviper.core.api.soa.message.ExternalMessage message)
Specified by:
setResponse in interface ClientEndpoint

setLog

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

setException

public void setException(com.ebmwebsourcing.easyviper.core.api.CoreException exception)
                  throws com.ebmwebsourcing.easyviper.core.api.CoreException
Specified by:
setException in interface ClientEndpoint
Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException

getException

public com.ebmwebsourcing.easyviper.core.api.CoreException getException()
Specified by:
getException in interface ClientEndpoint


Copyright © 2009 eBM WebSourcing. All Rights Reserved.