com.ebmwebsourcing.easyviper.core.impl.model
Class ModelImpl

Package class diagram package ModelImpl
java.lang.Object
  extended by com.ebmwebsourcing.easyviper.core.impl.model.ModelImpl
All Implemented Interfaces:
com.ebmwebsourcing.easyviper.core.api.engine.Element, com.ebmwebsourcing.easyviper.core.api.engine.FractalComponent, com.ebmwebsourcing.easyviper.core.api.model.Model, java.io.Serializable

public class ModelImpl
extends java.lang.Object
implements com.ebmwebsourcing.easyviper.core.api.model.Model

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

Constructor Summary
ModelImpl()
           
 
Method Summary
 void create()
          Create the scope behaviour
 com.ebmwebsourcing.easyviper.core.api.model.compiler.Compiler createCompiler(java.lang.String name, java.lang.Class<? extends com.ebmwebsourcing.easyviper.core.api.model.compiler.AbstractCompiler> compilerClass)
           
 com.ebmwebsourcing.easyviper.core.api.model.registry.definition.ProcessDefinitionRegistry createRegistry(java.lang.String name, java.lang.Class<? extends com.ebmwebsourcing.easyviper.core.api.model.registry.definition.AbstractProcessDefinitionRegistry> registryClass)
           
 void destroy()
          Destroy the NodeImpl behaviour
 com.ebmwebsourcing.easyviper.core.api.model.compiler.Compiler getCompiler()
           
 org.objectweb.fractal.api.Component getComponent()
           
 com.ebmwebsourcing.easyviper.core.api.Core getCore()
           
 java.lang.String getName()
           
 com.ebmwebsourcing.easyviper.core.api.model.registry.definition.ProcessDefinitionRegistry getRegistry()
           
 void init(org.objectweb.fractal.api.Component fractalNode)
           
 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

ModelImpl

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

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

getComponent

public org.objectweb.fractal.api.Component getComponent()
Specified by:
getComponent in interface com.ebmwebsourcing.easyviper.core.api.engine.FractalComponent

getCore

public com.ebmwebsourcing.easyviper.core.api.Core getCore()
                                                   throws com.ebmwebsourcing.easyviper.core.api.CoreException
Specified by:
getCore in interface com.ebmwebsourcing.easyviper.core.api.model.Model
Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException

createCompiler

public com.ebmwebsourcing.easyviper.core.api.model.compiler.Compiler createCompiler(java.lang.String name,
                                                                                    java.lang.Class<? extends com.ebmwebsourcing.easyviper.core.api.model.compiler.AbstractCompiler> compilerClass)
                                                                             throws com.ebmwebsourcing.easyviper.core.api.CoreException
Specified by:
createCompiler in interface com.ebmwebsourcing.easyviper.core.api.model.Model
Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException

getCompiler

public com.ebmwebsourcing.easyviper.core.api.model.compiler.Compiler getCompiler()
                                                                          throws com.ebmwebsourcing.easyviper.core.api.CoreException
Specified by:
getCompiler in interface com.ebmwebsourcing.easyviper.core.api.model.Model
Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException

createRegistry

public com.ebmwebsourcing.easyviper.core.api.model.registry.definition.ProcessDefinitionRegistry createRegistry(java.lang.String name,
                                                                                                                java.lang.Class<? extends com.ebmwebsourcing.easyviper.core.api.model.registry.definition.AbstractProcessDefinitionRegistry> registryClass)
                                                                                                         throws com.ebmwebsourcing.easyviper.core.api.CoreException
Specified by:
createRegistry in interface com.ebmwebsourcing.easyviper.core.api.model.Model
Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException

getRegistry

public com.ebmwebsourcing.easyviper.core.api.model.registry.definition.ProcessDefinitionRegistry getRegistry()
                                                                                                      throws com.ebmwebsourcing.easyviper.core.api.CoreException
Specified by:
getRegistry in interface com.ebmwebsourcing.easyviper.core.api.model.Model
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.engine.Element


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