public interface IRegistrationManager extends ITenantLifecycleComponent
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAutoAssignSiteToken()
Gets the token used for automatic site assignment.
|
void |
handleDeviceMapping(java.lang.String hardwareId,
IDeviceMappingCreateRequest request)
Handle mapping of a device to a path on a composite device.
|
void |
handleDeviceRegistration(IDeviceRegistrationRequest request)
Handle registration of a new device.
|
boolean |
isAllowNewDevices()
Indicates whether the registration manager allows new devices to be
created as a byproduct of the registration process.
|
boolean |
isAutoAssignSite()
Indicates whether all new regsitrations can be automatically assigned to
a given site.
|
getTenant, setTenant
canPause, findComponentsOfType, getComponentId, getComponentName, getComponentType, getCreatedDate, getLifecycleComponents, getLifecycleError, getLifecycleStatus, getLogger, initialize, initializeNestedComponent, lifecycleInitialize, lifecyclePause, lifecycleStart, lifecycleStop, lifecycleStop, logState, pause, start, startNestedComponent, stop, stop
boolean isAllowNewDevices()
boolean isAutoAssignSite()
java.lang.String getAutoAssignSiteToken()
void handleDeviceRegistration(IDeviceRegistrationRequest request) throws SiteWhereException
request
- SiteWhereException
void handleDeviceMapping(java.lang.String hardwareId, IDeviceMappingCreateRequest request) throws SiteWhereException
hardwareId
- request
- SiteWhereException