com.ebmwebsourcing.easyviper.environment.test.util
Class TestCompiler

java.lang.Object
  extended by com.ebmwebsourcing.easycommons.sca.helper.impl.SCAComponentImpl
      extended by com.ebmwebsourcing.easyviper.core.api.model.compiler.AbstractCompiler
          extended by com.ebmwebsourcing.easyviper.environment.test.util.TestCompiler
All Implemented Interfaces:
com.ebmwebsourcing.easycommons.sca.helper.api.SCAComponent, com.ebmwebsourcing.easyviper.core.api.model.compiler.Compiler

public class TestCompiler
extends com.ebmwebsourcing.easyviper.core.api.model.compiler.AbstractCompiler
implements com.ebmwebsourcing.easyviper.core.api.model.compiler.Compiler


Constructor Summary
TestCompiler()
           
 
Method Summary
 com.ebmwebsourcing.easyviper.core.api.engine.Process compile(com.ebmwebsourcing.easyviper.core.api.model.registry.definition.ProcessDefinition def)
           
 void createSCAComponent()
           
 void destroySCAComponent()
           
 org.objectweb.fractal.api.Component getComponent()
           
 java.util.Map<java.lang.String,java.lang.Object> getInitializationContext()
           
 java.lang.String getName()
           
 void setInitializationContext(java.util.Map<java.lang.String,java.lang.Object> context)
           
 void setLog(java.util.logging.Logger logger)
           
 void setName(java.lang.String name)
           
 void startSCAComponent()
           
 void stopSCAComponent()
           
 com.ebmwebsourcing.easyviper.core.api.model.registry.definition.ProcessDefinition validate(java.net.URI uri)
           
 
Methods inherited from class com.ebmwebsourcing.easyviper.core.api.model.compiler.AbstractCompiler
getModel
 
Methods inherited from class com.ebmwebsourcing.easycommons.sca.helper.impl.SCAComponentImpl
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestCompiler

public TestCompiler()
Method Detail

getInitializationContext

public java.util.Map<java.lang.String,java.lang.Object> getInitializationContext()
                                                                          throws com.ebmwebsourcing.easycommons.sca.helper.api.SCAException
Specified by:
getInitializationContext in interface com.ebmwebsourcing.easycommons.sca.helper.api.SCAComponent
Overrides:
getInitializationContext in class com.ebmwebsourcing.easycommons.sca.helper.impl.SCAComponentImpl
Throws:
com.ebmwebsourcing.easycommons.sca.helper.api.SCAException

setInitializationContext

public void setInitializationContext(java.util.Map<java.lang.String,java.lang.Object> context)
                              throws com.ebmwebsourcing.easycommons.sca.helper.api.SCAException
Specified by:
setInitializationContext in interface com.ebmwebsourcing.easycommons.sca.helper.api.SCAComponent
Overrides:
setInitializationContext in class com.ebmwebsourcing.easycommons.sca.helper.impl.SCAComponentImpl
Throws:
com.ebmwebsourcing.easycommons.sca.helper.api.SCAException

createSCAComponent

public void createSCAComponent()
                        throws com.ebmwebsourcing.easycommons.sca.helper.api.SCAException
Specified by:
createSCAComponent in interface com.ebmwebsourcing.easycommons.sca.helper.api.SCAComponent
Overrides:
createSCAComponent in class com.ebmwebsourcing.easycommons.sca.helper.impl.SCAComponentImpl
Throws:
com.ebmwebsourcing.easycommons.sca.helper.api.SCAException

startSCAComponent

public void startSCAComponent()
                       throws com.ebmwebsourcing.easycommons.sca.helper.api.SCAException
Specified by:
startSCAComponent in interface com.ebmwebsourcing.easycommons.sca.helper.api.SCAComponent
Overrides:
startSCAComponent in class com.ebmwebsourcing.easycommons.sca.helper.impl.SCAComponentImpl
Throws:
com.ebmwebsourcing.easycommons.sca.helper.api.SCAException

stopSCAComponent

public void stopSCAComponent()
                      throws com.ebmwebsourcing.easycommons.sca.helper.api.SCAException
Specified by:
stopSCAComponent in interface com.ebmwebsourcing.easycommons.sca.helper.api.SCAComponent
Overrides:
stopSCAComponent in class com.ebmwebsourcing.easycommons.sca.helper.impl.SCAComponentImpl
Throws:
com.ebmwebsourcing.easycommons.sca.helper.api.SCAException

destroySCAComponent

public void destroySCAComponent()
                         throws com.ebmwebsourcing.easycommons.sca.helper.api.SCAException
Specified by:
destroySCAComponent in interface com.ebmwebsourcing.easycommons.sca.helper.api.SCAComponent
Overrides:
destroySCAComponent in class com.ebmwebsourcing.easycommons.sca.helper.impl.SCAComponentImpl
Throws:
com.ebmwebsourcing.easycommons.sca.helper.api.SCAException

getName

public java.lang.String getName()
Specified by:
getName in interface com.ebmwebsourcing.easycommons.sca.helper.api.SCAComponent
Overrides:
getName in class com.ebmwebsourcing.easycommons.sca.helper.impl.SCAComponentImpl

setName

public void setName(java.lang.String name)
Specified by:
setName in interface com.ebmwebsourcing.easycommons.sca.helper.api.SCAComponent
Overrides:
setName in class com.ebmwebsourcing.easycommons.sca.helper.impl.SCAComponentImpl

getComponent

public org.objectweb.fractal.api.Component getComponent()
Specified by:
getComponent in interface com.ebmwebsourcing.easycommons.sca.helper.api.SCAComponent
Overrides:
getComponent in class com.ebmwebsourcing.easycommons.sca.helper.impl.SCAComponentImpl

validate

public com.ebmwebsourcing.easyviper.core.api.model.registry.definition.ProcessDefinition validate(java.net.URI uri)
                                                                                           throws com.ebmwebsourcing.easyviper.core.api.CoreException
Specified by:
validate in interface com.ebmwebsourcing.easyviper.core.api.model.compiler.Compiler
Specified by:
validate in class com.ebmwebsourcing.easyviper.core.api.model.compiler.AbstractCompiler
Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException

compile

public com.ebmwebsourcing.easyviper.core.api.engine.Process compile(com.ebmwebsourcing.easyviper.core.api.model.registry.definition.ProcessDefinition def)
                                                             throws com.ebmwebsourcing.easyviper.core.api.CoreException
Specified by:
compile in interface com.ebmwebsourcing.easyviper.core.api.model.compiler.Compiler
Specified by:
compile in class com.ebmwebsourcing.easyviper.core.api.model.compiler.AbstractCompiler
Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException

setLog

public void setLog(java.util.logging.Logger logger)
Specified by:
setLog in interface com.ebmwebsourcing.easyviper.core.api.model.compiler.Compiler
Overrides:
setLog in class com.ebmwebsourcing.easyviper.core.api.model.compiler.AbstractCompiler


Copyright © 2009-2011 eBM WebSourcing. All Rights Reserved.