com.esri.adf.web.ags.data
Class AGSExtensionsResource
java.lang.Object
com.esri.adf.web.data.GISResource
com.esri.adf.web.ags.data.AGSMapResource
com.esri.adf.web.ags.data.AGSExtensionsResource
- All Implemented Interfaces:
- AGSExtensions, WebContextInitialize, WebLifecycle, Serializable
public class AGSExtensionsResource
- extends AGSMapResource
- implements AGSExtensions
- See Also:
- Serialized Form
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AGSExtensionsResource
public AGSExtensionsResource()
setExtensionUrls
public void setExtensionUrls(Map<String,String> extensionUrls)
getExtensionUrls
public Map<String,String> getExtensionUrls()
getExtensionServer
public Object getExtensionServer(String extensionType)
throws Exception
- Specified by:
getExtensionServer
in interface AGSExtensions
- Throws:
Exception
init
public void init(WebContext webContext)
- Description copied from class:
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();
}
- Specified by:
init
in interface WebContextInitialize
- Overrides:
init
in class AGSMapResource
- Parameters:
webContext
- the WebContext
that maintains a reference to this resource- See Also:
WebContextInitialize.init(com.esri.adf.web.data.WebContext)
,
GISFunctionality.initFunctionality(GISResource)
,
WebContext.init(WebContext)
,
WebContext.addResource(String, GISResource)