com.esri.client.local
Class LocalFeatureService
java.lang.Object
com.esri.client.local.LocalService
com.esri.client.local.LocalMapService
com.esri.client.local.LocalFeatureService
public class LocalFeatureService
- extends LocalMapService
Class representing a feature service on the LocalServer.
Constructor Summary |
LocalFeatureService()
Constructs a LocalFeatureService without any reference to local data; call
the setPath() method before starting this service. |
LocalFeatureService(String path)
Constructs from a path to data; typically this is the path to an MPK
file. |
Methods inherited from class com.esri.client.local.LocalMapService |
getDescription, getDynamicWorkspaces, getEnableDynamicLayers, getMapLayers, getMaximumRecords, getPath, getUrlMapService, preStart, setDynamicWorkspaces, setEnableDynamicLayers, setMaximumRecords, setPath, start, startAsync |
Methods inherited from class com.esri.client.local.LocalService |
addLocalServiceStartCompleteListener, addLocalServiceStopCompleteListener, deleteService, failStart, failStart, fireLocalServiceStartCompleteEvent, getEndpoints, getError, getStatus, getUrl, removeLocalServiceStartCompleteListener, removeLocalServiceStopCompleteListener, sendRequest, setError, setStatus, startAsyncInner, startInner, stop, stopAsync |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_featureLayerDetailsList
protected ArrayList<LayerDetails> _featureLayerDetailsList
LocalFeatureService
public LocalFeatureService()
- Constructs a LocalFeatureService without any reference to local data; call
the
setPath()
method before starting this service.
LocalFeatureService
public LocalFeatureService(String path)
- Constructs from a path to data; typically this is the path to an MPK
file. Call
LocalService.start()
or
LocalService.startAsync()
to start the service.
- Parameters:
path
- Path to a map package.
getUrlFeatureService
public String getUrlFeatureService()
- Gets a URL to the feature service.
- Returns:
- URL of the feature service.
getFeatureLayers
public List<LayerDetails> getFeatureLayers()
- Get a list of information on the layers published by this feature service.
- Returns:
- List of LayerDetails
generateCreateServiceInfo
protected CreateServiceInfo generateCreateServiceInfo()
- Overrides:
generateCreateServiceInfo
in class LocalMapService
completeStart
protected void completeStart()
- Description copied from class:
LocalService
- Override this to perform any service specific tasks at the end of
our initialization process.
- Overrides:
completeStart
in class LocalMapService
Copyright © 2012. All Rights Reserved.