public abstract class AbstractSensorFactory<T extends AbstractSensor<?>> extends AbstractServiceFactory<T>
Constructor and Description |
---|
AbstractSensorFactory()
This constructor is only for CGLIB.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
bindCommandConfiguration(AbstractCommandConfiguration<?> commandConfiguration,
java.util.Map<?,?> properties)
Called when a configuration appears.
|
abstract java.lang.String |
getDescription()
Get a description for reader produced by this factory
|
abstract java.lang.String |
getDisplayName()
Get the display name for Readers produced by this factory
|
ReaderFactoryDTO |
getReaderFactoryDTO()
Construct a DTO for this ReaderFactory
|
void |
setCommandConfigurations(java.util.Set<AbstractCommandConfiguration<?>> commandConfigurations)
Used by spring to provide the currently available command configurations
|
void |
setReaderInstances(java.util.Set<AbstractSensor<?>> sensors)
Used by spring to provide the sensor instances registered to OSGi.
|
abstract void |
unbindCommandConfiguration(AbstractCommandConfiguration<?> commandConfiguration,
java.util.Map<?,?> properties)
Called when a configuration disappears.
|
setContext
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createInstance, getFactoryID, getServiceDescription
public AbstractSensorFactory()
public ReaderFactoryDTO getReaderFactoryDTO()
public abstract java.lang.String getDisplayName()
public abstract java.lang.String getDescription()
public void setReaderInstances(java.util.Set<AbstractSensor<?>> sensors)
commands
- a thread safe set containing all currently available sensor
instancespublic void setCommandConfigurations(java.util.Set<AbstractCommandConfiguration<?>> commandConfigurations)
commands
- a thread safe set containing all currently available command
configurationspublic abstract void bindCommandConfiguration(AbstractCommandConfiguration<?> commandConfiguration, java.util.Map<?,?> properties)
commandConfiguration
- properties
- public abstract void unbindCommandConfiguration(AbstractCommandConfiguration<?> commandConfiguration, java.util.Map<?,?> properties)
commandConfiguration
- properties
-