public class EventInjectorImpl extends Object implements EventInjector, ConfigurationFactory
| Constructor and Description |
|---|
EventInjectorImpl(org.osgi.framework.BundleContext context,
EventMonitorEvaluator evaluator) |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(UserInformation userInformation,
String configurationId)
receive configuration delete request
|
void |
dispose() |
protected void |
handleFactoryAdded(String factoryId,
EventHandlerFactory factory) |
protected void |
handleFactoryRemoved(String factoryId) |
void |
injectEvent(Event event,
InjectionContext context)
Inject an event entry from an external source into the AE system
|
protected void |
processFactoryAdded(String factoryId,
EventHandlerFactory factory) |
protected void |
processFactoryRemoved(String factoryId) |
void |
rules() |
void |
state() |
void |
update(UserInformation userInformation,
String configurationId,
Map<String,String> properties)
receive configuration update
|
public EventInjectorImpl(org.osgi.framework.BundleContext context,
EventMonitorEvaluator evaluator)
public void dispose()
public void injectEvent(Event event, InjectionContext context)
EventInjectorinjectEvent in interface EventInjectorevent - the event to injectcontext - an optional (may be null) context were the event
came fromprotected void handleFactoryAdded(String factoryId, EventHandlerFactory factory)
protected void handleFactoryRemoved(String factoryId)
protected void processFactoryAdded(String factoryId, EventHandlerFactory factory)
protected void processFactoryRemoved(String factoryId)
public void state()
public void rules()
public void update(UserInformation userInformation, String configurationId, Map<String,String> properties) throws Exception
ConfigurationFactoryupdate in interface ConfigurationFactoryuserInformation - the principal that performed the change, may be nullconfigurationId - the configuration object to changeproperties - the new propertiesException - can be thrown if anything goes wrong changing the configurationpublic void delete(UserInformation userInformation, String configurationId) throws Exception
ConfigurationFactorydelete in interface ConfigurationFactoryuserInformation - the principal that performed the change, may be nullconfigurationId - the configuration object to changeException - can be thrown if anything goes wrong changing the configurationCopyright © 2016 Eclipse NeoSCADA Project. All rights reserved.