|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.esri.adf.web.data.GISResource
com.esri.adf.web.ags.data.AGSGeocodeResource
public class AGSGeocodeResource
Field Summary | |
---|---|
protected String |
endPointURL
|
protected String |
generatedAlias
If the user does not provide an alias for the resource, an alias is generated by this object and is represented by this variable |
protected com.esri.arcgisws.GeocodeServerBindingStub |
geocodeServer
|
protected String |
mapName
|
protected String |
serviceCatalogURL
The URL to a web service catalog end point. |
protected AGSUser |
user
An AGSUser object to authenticate connections to secure web services |
Fields inherited from class com.esri.adf.web.data.GISResource |
---|
alias, context, defaultSpatialReference, functionalities, hasFailedFunctionalities, init |
Constructor Summary | |
---|---|
AGSGeocodeResource()
Creates a new AGSGeocodeResource with no URL set. |
|
AGSGeocodeResource(String endPointURL)
|
Method Summary | |
---|---|
protected void |
createGeocodeServer()
|
String |
getAlias()
Returns a reader friendly name for this resource. |
String |
getEndPointURL()
|
com.esri.arcgisws.GeocodeServerPort |
getGeocodeServer()
|
String |
getServiceCatalogURL()
Returns the service catalog end point URL. |
AGSUser |
getUser()
|
void |
init(WebContext webContext)
This method is called by the WebContext to initialize the resource. |
void |
setEndPointURL(String geocodeEndPointURL)
|
void |
setServiceCatalogURL(String serviceCatalogURL)
Sets the service catalog end point URL. |
void |
setUser(AGSUser user)
|
Methods inherited from class com.esri.adf.web.data.GISResource |
---|
activate, addFunctionality, destroy, getDefaultSpatialReference, getFunctionalities, getFunctionality, getWebContext, passivate, setAlias, setFunctionalities |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected transient com.esri.arcgisws.GeocodeServerBindingStub geocodeServer
protected String endPointURL
protected String serviceCatalogURL
protected String mapName
protected String generatedAlias
protected AGSUser user
AGSUser
object to authenticate connections to secure web services
Constructor Detail |
---|
public AGSGeocodeResource()
Creates a new AGSGeocodeResource
with no URL set. This constructor is typically used when one configures
this resource in a JSF config file. If you are to programmatically create this resource, it is recommended that you
use the other constructor that takes an end point URL as input.
public AGSGeocodeResource(String endPointURL)
Method Detail |
---|
protected void createGeocodeServer()
public void init(WebContext webContext)
GISResource
This method is called by the WebContext
to initialize the resource. This is typically called when the
context itself is initialized or when users add a new resource to the context by using the
WebContext.addResource(String, GISResource)
method. A GISResource
is usable
only after this method has been called.
This method iterates through all its supported GISFunctionality
s and calls the
GISFunctionality.initFunctionality(GISResource)
on them all.
Sub-classes that want to do custom initialization should override this method and make the super
call
first before doing the custom stuff:
public void init(WebContext context) { super.init(context); myInit(); }
init
in interface WebContextInitialize
init
in class GISResource
webContext
- the WebContext
that maintains a reference to this resourceWebContextInitialize.init(com.esri.adf.web.data.WebContext)
,
GISFunctionality.initFunctionality(GISResource)
,
WebContext.init(WebContext)
,
WebContext.addResource(String, GISResource)
public String getAlias()
GISResource
Returns a reader friendly name for this resource.
It is a good practice for users to explicitly set an alias when the resource is created programmatically or declaratively. Resource providers should provide an auto-generated alias anyway in case users don't explicitly set an alias themselves.
getAlias
in class GISResource
public com.esri.arcgisws.GeocodeServerPort getGeocodeServer()
public String getEndPointURL()
public void setEndPointURL(String geocodeEndPointURL)
public String getServiceCatalogURL()
public void setServiceCatalogURL(String serviceCatalogURL)
serviceCatalogURL
- the service catalog end point URLpublic void setUser(AGSUser user)
public AGSUser getUser()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |