com.ebmwebsourcing.easyviper.core.api.model.compiler
Class AbstractCompiler<Def extends ProcessDefinition>

java.lang.Object
  extended by com.ebmwebsourcing.easyviper.core.api.model.compiler.AbstractCompiler<Def>
All Implemented Interfaces:
Element, FractalComponent, Compiler<Def>, java.io.Serializable

public abstract class AbstractCompiler<Def extends ProcessDefinition>
extends java.lang.Object
implements Compiler<Def>

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

Constructor Summary
AbstractCompiler()
           
 
Method Summary
abstract  Process compile(Def def)
           
 void create()
          Create the scope behaviour
 void destroy()
          Destroy the NodeImpl behaviour
 org.objectweb.fractal.api.Component getComponent()
           
 Model getModel()
           
 java.lang.String getName()
           
 void init(org.objectweb.fractal.api.Component fractalNode)
           
 void setName(java.lang.String name)
           
 void start()
          Start the NodeImpl behaviour
 void stop()
          Stop the NodeImpl behaviour
abstract  Def validate(java.net.URI uri)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.ebmwebsourcing.easyviper.core.api.engine.Element
setLog
 

Constructor Detail

AbstractCompiler

public AbstractCompiler()
Method Detail

create

public void create()
            throws CoreException
Create the scope behaviour

Specified by:
create in interface FractalComponent
Throws:
CoreException

init

public void init(org.objectweb.fractal.api.Component fractalNode)
          throws CoreException
Specified by:
init in interface FractalComponent
Throws:
CoreException

start

public void start()
           throws CoreException
Start the NodeImpl behaviour

Specified by:
start in interface FractalComponent
Throws:
CoreException

stop

public void stop()
          throws CoreException
Stop the NodeImpl behaviour

Specified by:
stop in interface FractalComponent
Throws:
CoreException

destroy

public void destroy()
             throws CoreException
Destroy the NodeImpl behaviour

Specified by:
destroy in interface FractalComponent
Throws:
CoreException

getName

public java.lang.String getName()
                         throws CoreException
Specified by:
getName in interface FractalComponent
Throws:
CoreException

setName

public void setName(java.lang.String name)
             throws CoreException
Specified by:
setName in interface FractalComponent
Throws:
CoreException

getComponent

public org.objectweb.fractal.api.Component getComponent()
Specified by:
getComponent in interface FractalComponent

getModel

public Model getModel()
               throws CoreException
Throws:
CoreException

compile

public abstract Process compile(Def def)
                         throws CoreException
Specified by:
compile in interface Compiler<Def extends ProcessDefinition>
Throws:
CoreException

validate

public abstract Def validate(java.net.URI uri)
                                                throws CoreException
Specified by:
validate in interface Compiler<Def extends ProcessDefinition>
Throws:
CoreException


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