|
|||||||||
| 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.AGSMapResource
com.esri.adf.web.ags.data.AGSExtensionsResource
public class AGSExtensionsResource
| Field Summary |
|---|
| Fields inherited from class com.esri.adf.web.ags.data.AGSMapResource |
|---|
endPointURL, generatedAlias, mapName, mapServer, serverInfo, serviceCatalogURL, user |
| Fields inherited from class com.esri.adf.web.data.GISResource |
|---|
alias, context, defaultSpatialReference, functionalities, init |
| Fields inherited from interface com.esri.adf.web.ags.data.AGSExtensions |
|---|
MOBILESERVER_EXTENSION, NASERVER_EXTENSION |
| Constructor Summary | |
|---|---|
AGSExtensionsResource()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
getExtensionServer(java.lang.String extensionType)
|
java.util.Map<java.lang.String,java.lang.String> |
getExtensionUrls()
|
void |
init(WebContext webContext)
This method is called by the WebContext to initialize the resource. |
void |
setExtensionUrls(java.util.Map<java.lang.String,java.lang.String> extensionUrls)
|
| Methods inherited from class com.esri.adf.web.ags.data.AGSMapResource |
|---|
createMapServer, getAlias, getEndPointURL, getImageFormat, getMapName, getMapServer, getMapServerInfo, getServiceCatalogURL, getUser, setEndPointURL, setMapName, setServiceCatalogURL, setUser |
| 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 |
| Constructor Detail |
|---|
public AGSExtensionsResource()
| Method Detail |
|---|
public void setExtensionUrls(java.util.Map<java.lang.String,java.lang.String> extensionUrls)
public java.util.Map<java.lang.String,java.lang.String> getExtensionUrls()
public java.lang.Object getExtensionServer(java.lang.String extensionType)
throws java.lang.Exception
getExtensionServer in interface AGSExtensionsjava.lang.Exceptionpublic 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 GISFunctionalitys 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 WebContextInitializeinit in class AGSMapResourcewebContext - 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)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||