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

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

public class ExecutionEnvironmentTestImpl
extends java.lang.Object
implements ExecutionEnvironmentTest

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

Constructor Summary
ExecutionEnvironmentTestImpl()
          Default constructor
 
Method Summary
 void addClientEndpoint(ClientEndpoint cep)
           
 void addProviderEndpoint(ProviderEndpoint pep)
           
 void create()
          Create the scope behaviour
 ClientEndpoint createClientEndpoint(java.lang.String name)
           
 ProviderEndpoint createProviderEndpoint(java.lang.String name, java.lang.Class<? extends Service> serviceClass)
           
 void destroy()
          Destroy the NodeImpl behaviour
 java.util.List<ClientEndpoint> getClientEndpoints()
           
 org.objectweb.fractal.api.Component getComponent()
           
 com.ebmwebsourcing.easyviper.core.api.Core getCore()
           
 java.lang.String getName()
           
 java.util.List<ProviderEndpoint> getProviderEndpoints()
           
 void init(org.objectweb.fractal.api.Component fractalNode)
           
 void setCore(com.ebmwebsourcing.easyviper.core.api.Core core)
           
 void setLog(java.util.logging.Logger logger)
           
 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
 

Constructor Detail

ExecutionEnvironmentTestImpl

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

addClientEndpoint

public void addClientEndpoint(ClientEndpoint cep)
                       throws com.ebmwebsourcing.easyviper.core.api.CoreException
Specified by:
addClientEndpoint in interface ExecutionEnvironmentTest
Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException

addProviderEndpoint

public void addProviderEndpoint(ProviderEndpoint pep)
                         throws com.ebmwebsourcing.easyviper.core.api.CoreException
Specified by:
addProviderEndpoint in interface ExecutionEnvironmentTest
Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException

getCore

public com.ebmwebsourcing.easyviper.core.api.Core getCore()
Specified by:
getCore in interface ExecutionEnvironmentTest

setCore

public void setCore(com.ebmwebsourcing.easyviper.core.api.Core core)
             throws com.ebmwebsourcing.easyviper.core.api.CoreException
Specified by:
setCore in interface ExecutionEnvironmentTest
Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException

createClientEndpoint

public ClientEndpoint createClientEndpoint(java.lang.String name)
                                    throws com.ebmwebsourcing.easyviper.core.api.CoreException
Specified by:
createClientEndpoint in interface ExecutionEnvironmentTest
Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException

createProviderEndpoint

public ProviderEndpoint createProviderEndpoint(java.lang.String name,
                                               java.lang.Class<? extends Service> serviceClass)
                                        throws com.ebmwebsourcing.easyviper.core.api.CoreException
Specified by:
createProviderEndpoint in interface ExecutionEnvironmentTest
Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException

getClientEndpoints

public java.util.List<ClientEndpoint> getClientEndpoints()
Specified by:
getClientEndpoints in interface ExecutionEnvironmentTest

getProviderEndpoints

public java.util.List<ProviderEndpoint> getProviderEndpoints()
Specified by:
getProviderEndpoints in interface ExecutionEnvironmentTest

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.