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

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

public class ProviderEndpointImpl
extends java.lang.Object
implements ProviderEndpoint

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

Constructor Summary
ProviderEndpointImpl()
          Default constructor
 
Method Summary
 com.ebmwebsourcing.easyviper.core.api.soa.message.ExternalMessage accept(com.ebmwebsourcing.easyviper.core.api.soa.message.ExternalMessage msg, java.lang.String invokedOperation)
           
 void create()
          Create the scope behaviour
 void destroy()
          Destroy the NodeImpl behaviour
 org.objectweb.fractal.api.Component getComponent()
           
 ExecutionEnvironmentTest getExecutionEnvironmentTest()
           
 java.lang.String getName()
           
 Service getService()
           
 void init(org.objectweb.fractal.api.Component fractalNode)
           
 void setLog(java.util.logging.Logger logger)
           
 void setName(java.lang.String name)
           
 void setService(Service s)
           
 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

ProviderEndpointImpl

public ProviderEndpointImpl()
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

accept

public com.ebmwebsourcing.easyviper.core.api.soa.message.ExternalMessage accept(com.ebmwebsourcing.easyviper.core.api.soa.message.ExternalMessage msg,
                                                                                java.lang.String invokedOperation)
                                                                         throws com.ebmwebsourcing.easyviper.core.api.CoreException
Specified by:
accept in interface ProviderEndpoint
Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException

getExecutionEnvironmentTest

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

getService

public Service getService()
Specified by:
getService in interface ProviderEndpoint

setService

public void setService(Service s)
Specified by:
setService in interface ProviderEndpoint

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.