com.ebmwebsourcing.easyviper.core.impl
Class CoreImpl

Package class diagram package CoreImpl
java.lang.Object
  extended by com.ebmwebsourcing.easycommons.sca.helper.impl.SCAComponentImpl
      extended by com.ebmwebsourcing.easyviper.core.impl.CoreImpl
All Implemented Interfaces:
com.ebmwebsourcing.easycommons.sca.helper.api.SCAComponent, com.ebmwebsourcing.easyviper.core.api.Core

public class CoreImpl
extends com.ebmwebsourcing.easycommons.sca.helper.impl.SCAComponentImpl
implements com.ebmwebsourcing.easyviper.core.api.Core

Author:
Nicolas Salatge - eBM WebSourcing

Field Summary
static java.lang.String DEFAULT_ENGINE_NAME
           
 
Constructor Summary
CoreImpl()
          Default Constructor
 
Method Summary
 com.ebmwebsourcing.easyviper.core.api.engine.Engine createEngine(com.ebmwebsourcing.easyviper.core.api.engine.configuration.ConfigurationEngine conf, java.lang.Class internalMessageType)
           
 com.ebmwebsourcing.easyviper.core.api.env.ExternalEnvironment createExternalEnvironment(java.lang.String name)
           
 com.ebmwebsourcing.easyviper.core.api.model.Model createModel(java.lang.String name, java.lang.Class<? extends com.ebmwebsourcing.easyviper.core.api.model.Model> modelClass)
           
 com.ebmwebsourcing.easyviper.core.api.engine.Engine getEngine()
           
 com.ebmwebsourcing.easyviper.core.api.env.ExternalEnvironment getExternalEnvironment()
           
 com.ebmwebsourcing.easyviper.core.api.marshalling.factory.MessageFactory<com.ebmwebsourcing.easyviper.core.api.soa.message.ExternalMessage<?>,com.ebmwebsourcing.easyviper.core.api.soa.message.InternalMessage<?>> getMessageFactory()
           
 com.ebmwebsourcing.easyviper.core.api.model.Model getModel()
           
 void setLog(java.util.logging.Logger logger)
           
 void setMessageFactory(com.ebmwebsourcing.easyviper.core.api.marshalling.factory.MessageFactory<com.ebmwebsourcing.easyviper.core.api.soa.message.ExternalMessage<?>,com.ebmwebsourcing.easyviper.core.api.soa.message.InternalMessage<?>> messageFactory)
           
 
Methods inherited from class com.ebmwebsourcing.easycommons.sca.helper.impl.SCAComponentImpl
createSCAComponent, destroySCAComponent, getComponent, getInitializationContext, getName, setInitializationContext, setName, startSCAComponent, stopSCAComponent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.ebmwebsourcing.easycommons.sca.helper.api.SCAComponent
createSCAComponent, destroySCAComponent, getComponent, getInitializationContext, getName, setInitializationContext, setName, startSCAComponent, stopSCAComponent
 

Field Detail

DEFAULT_ENGINE_NAME

public static final java.lang.String DEFAULT_ENGINE_NAME
See Also:
Constant Field Values
Constructor Detail

CoreImpl

public CoreImpl()
         throws com.ebmwebsourcing.easyviper.core.api.CoreException
Default Constructor

Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException
Method Detail

createEngine

public com.ebmwebsourcing.easyviper.core.api.engine.Engine createEngine(com.ebmwebsourcing.easyviper.core.api.engine.configuration.ConfigurationEngine conf,
                                                                        java.lang.Class internalMessageType)
                                                                 throws com.ebmwebsourcing.easyviper.core.api.CoreException
Specified by:
createEngine in interface com.ebmwebsourcing.easyviper.core.api.Core
Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException

getEngine

public com.ebmwebsourcing.easyviper.core.api.engine.Engine getEngine()
                                                              throws com.ebmwebsourcing.easyviper.core.api.CoreException
Specified by:
getEngine in interface com.ebmwebsourcing.easyviper.core.api.Core
Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException

createModel

public com.ebmwebsourcing.easyviper.core.api.model.Model createModel(java.lang.String name,
                                                                     java.lang.Class<? extends com.ebmwebsourcing.easyviper.core.api.model.Model> modelClass)
                                                              throws com.ebmwebsourcing.easyviper.core.api.CoreException
Specified by:
createModel in interface com.ebmwebsourcing.easyviper.core.api.Core
Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException

getModel

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

createExternalEnvironment

public com.ebmwebsourcing.easyviper.core.api.env.ExternalEnvironment createExternalEnvironment(java.lang.String name)
                                                                                        throws com.ebmwebsourcing.easyviper.core.api.CoreException
Specified by:
createExternalEnvironment in interface com.ebmwebsourcing.easyviper.core.api.Core
Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException

getExternalEnvironment

public com.ebmwebsourcing.easyviper.core.api.env.ExternalEnvironment getExternalEnvironment()
                                                                                     throws com.ebmwebsourcing.easyviper.core.api.CoreException
Specified by:
getExternalEnvironment in interface com.ebmwebsourcing.easyviper.core.api.Core
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.Core

getMessageFactory

public com.ebmwebsourcing.easyviper.core.api.marshalling.factory.MessageFactory<com.ebmwebsourcing.easyviper.core.api.soa.message.ExternalMessage<?>,com.ebmwebsourcing.easyviper.core.api.soa.message.InternalMessage<?>> getMessageFactory()
Specified by:
getMessageFactory in interface com.ebmwebsourcing.easyviper.core.api.Core

setMessageFactory

public void setMessageFactory(com.ebmwebsourcing.easyviper.core.api.marshalling.factory.MessageFactory<com.ebmwebsourcing.easyviper.core.api.soa.message.ExternalMessage<?>,com.ebmwebsourcing.easyviper.core.api.soa.message.InternalMessage<?>> messageFactory)
                       throws com.ebmwebsourcing.easyviper.core.api.CoreException
Specified by:
setMessageFactory in interface com.ebmwebsourcing.easyviper.core.api.Core
Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException


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