net.esper.core
Class EPServiceProviderImpl

java.lang.Object
  extended by net.esper.core.EPServiceProviderImpl
All Implemented Interfaces:
EPServiceProvider

public class EPServiceProviderImpl
extends java.lang.Object
implements EPServiceProvider

Service provider encapsulates the engine's services for runtime and administration interfaces.


Nested Class Summary
 class EPServiceProviderImpl.ConfigurationSnapshot
          Snapshot of Configuration is held for re-initializing engine state from prior configuration values that may have been muted.
 
Constructor Summary
EPServiceProviderImpl(Configuration configuration)
          Constructor - initializes services.
 
Method Summary
 EPAdministrator getEPAdministrator()
          Returns a class instance of EPAdministrator.
 EPRuntime getEPRuntime()
          Returns a class instance of EPRuntime.
 void initialize()
          Frees any resources associated with this runtime instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EPServiceProviderImpl

public EPServiceProviderImpl(Configuration configuration)
                      throws ConfigurationException
Constructor - initializes services.

Parameters:
configuration - is the engine configuration
Throws:
ConfigurationException - is thrown to indicate a configuraton error
Method Detail

getEPRuntime

public EPRuntime getEPRuntime()
Description copied from interface: EPServiceProvider
Returns a class instance of EPRuntime.

Specified by:
getEPRuntime in interface EPServiceProvider
Returns:
an instance of EPRuntime

getEPAdministrator

public EPAdministrator getEPAdministrator()
Description copied from interface: EPServiceProvider
Returns a class instance of EPAdministrator.

Specified by:
getEPAdministrator in interface EPServiceProvider
Returns:
an instance of EPAdministrator

initialize

public void initialize()
Description copied from interface: EPServiceProvider
Frees any resources associated with this runtime instance. Stops and destroys any event filters, patterns, expressions, views.

Specified by:
initialize in interface EPServiceProvider