com.ebmwebsourcing.easyviper.core.impl.engine.thread.service
Class ServiceManagerImpl

Package class diagram package ServiceManagerImpl
java.lang.Object
  extended by com.ebmwebsourcing.easyviper.core.impl.engine.thread.service.ServiceManagerImpl
All Implemented Interfaces:
com.ebmwebsourcing.easyviper.core.api.engine.thread.service.ServiceManager

public class ServiceManagerImpl
extends java.lang.Object
implements com.ebmwebsourcing.easyviper.core.api.engine.thread.service.ServiceManager


Constructor Summary
ServiceManagerImpl(com.ebmwebsourcing.easyviper.core.api.engine.Engine engine)
           
 
Method Summary
 void activateService(java.lang.Class<? extends com.ebmwebsourcing.easyviper.core.api.engine.thread.service.Service> serviceClass)
           
 void addService(java.lang.Class<? extends com.ebmwebsourcing.easyviper.core.api.engine.thread.service.Service> serviceClass)
           
<S extends com.ebmwebsourcing.easyviper.core.api.engine.thread.service.Service>
S
getService(java.lang.Class<S> serviceClass)
           
 java.util.List<com.ebmwebsourcing.easyviper.core.api.engine.thread.service.Service> getServices()
           
 com.ebmwebsourcing.easyviper.core.api.engine.thread.service.Service removeService(java.lang.Class<? extends com.ebmwebsourcing.easyviper.core.api.engine.thread.service.Service> serviceClass)
           
 void restartAllServices()
           
 void shutdownAllServices()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceManagerImpl

public ServiceManagerImpl(com.ebmwebsourcing.easyviper.core.api.engine.Engine engine)
                   throws com.ebmwebsourcing.easyviper.core.api.CoreException
Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException
Method Detail

shutdownAllServices

public void shutdownAllServices()
Specified by:
shutdownAllServices in interface com.ebmwebsourcing.easyviper.core.api.engine.thread.service.ServiceManager

restartAllServices

public void restartAllServices()
Specified by:
restartAllServices in interface com.ebmwebsourcing.easyviper.core.api.engine.thread.service.ServiceManager

getServices

public java.util.List<com.ebmwebsourcing.easyviper.core.api.engine.thread.service.Service> getServices()
Specified by:
getServices in interface com.ebmwebsourcing.easyviper.core.api.engine.thread.service.ServiceManager

addService

public void addService(java.lang.Class<? extends com.ebmwebsourcing.easyviper.core.api.engine.thread.service.Service> serviceClass)
                throws com.ebmwebsourcing.easyviper.core.api.CoreException
Specified by:
addService in interface com.ebmwebsourcing.easyviper.core.api.engine.thread.service.ServiceManager
Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException

removeService

public com.ebmwebsourcing.easyviper.core.api.engine.thread.service.Service removeService(java.lang.Class<? extends com.ebmwebsourcing.easyviper.core.api.engine.thread.service.Service> serviceClass)
Specified by:
removeService in interface com.ebmwebsourcing.easyviper.core.api.engine.thread.service.ServiceManager

activateService

public void activateService(java.lang.Class<? extends com.ebmwebsourcing.easyviper.core.api.engine.thread.service.Service> serviceClass)
                     throws com.ebmwebsourcing.easyviper.core.api.CoreException
Specified by:
activateService in interface com.ebmwebsourcing.easyviper.core.api.engine.thread.service.ServiceManager
Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException

getService

public <S extends com.ebmwebsourcing.easyviper.core.api.engine.thread.service.Service> S getService(java.lang.Class<S> serviceClass)
Specified by:
getService in interface com.ebmwebsourcing.easyviper.core.api.engine.thread.service.ServiceManager


Copyright © 2012 Petals Link. All Rights Reserved.