public class GeoFencingStandardProvider extends Object implements GeoFencingProvider
Modifier and Type | Class and Description |
---|---|
static interface |
GeoFencingStandardProvider.Resources |
GeoFencingProvider.GeoFencingProviderProducer
Constructor and Description |
---|
GeoFencingStandardProvider() |
Modifier and Type | Method and Description |
---|---|
void |
addRegion(Region region)
Add a region that will be monitored to see if the user enters it.
|
protected void |
fireCdiEvent(int regionId) |
void |
removeRegion(Region region)
Remove the monitored region.
|
void |
setEventSource(javax.enterprise.event.Event<GeoFencingEvent> eventSource) |
public void addRegion(Region region)
GeoFencingProvider
addRegion
in interface GeoFencingProvider
region
- the region to monitorpublic void removeRegion(Region region)
GeoFencingProvider
removeRegion
in interface GeoFencingProvider
region
- region.protected void fireCdiEvent(int regionId)
public void setEventSource(javax.enterprise.event.Event<GeoFencingEvent> eventSource)
Copyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.