|
||||||||||
| 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.AGSLocalMapResource
com.esri.adf.web.ags.data.AGSLocalExtensionsResource
| Field Summary |
| Fields inherited from class com.esri.adf.web.ags.data.AGSLocalMapResource |
delegate, localMapServer |
| Fields inherited from class com.esri.adf.web.ags.data.AGSMapResource |
endPointURL, generatedAlias, mapName, mapServer, 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 | |
AGSLocalExtensionsResource()
|
|
| Method Summary | |
void |
activate()
This method is called by the associated WebContext when the context itself is being activated. |
void |
destroy()
The cleanup (final) chores of the resource like releasing held resources must be performed in this method. |
java.lang.Object |
getExtensionServer(java.lang.String extensionType)
|
com.esri.arcgis.server.IServerObjectExtension |
getLocalExtensionServer(java.lang.String extensionType)
|
void |
init(WebContext context)
This method is called by the WebContext to initialize the resource. |
void |
passivate()
This method is called by the associated WebContext when the context itself is being passivated. |
| Methods inherited from class com.esri.adf.web.ags.data.AGSLocalMapResource |
createArcObject, createMapServer, equals, getAlias, getClusterType, getHosts, getLocalMapServer, getServerConnection, getServerContext, getServerObjectManager, getServerObjectName, getUser, isPooled, loadObject, saveObject, setClusterType, setHosts, setServerObjectName, setUser |
| Methods inherited from class com.esri.adf.web.ags.data.AGSMapResource |
getEndPointURL, getMapName, getMapServer, setEndPointURL, setMapName |
| Methods inherited from class com.esri.adf.web.data.GISResource |
addFunctionality, getDefaultSpatialReference, getFunctionalities, getFunctionality, getWebContext, setAlias, setFunctionalities |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AGSLocalExtensionsResource()
| Method Detail |
public void init(WebContext context)
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(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 AGSLocalMapResourcepublic void activate()
GISResource
This method is called by the associated WebContext when the context itself is being activated. This
typically happens when a new user request is received to perform a set of operations. A GISResource is
available for the execution of these operations only after this method has been called.
This method iterates through all its supported GISFunctionalitys and calls the activate()
method on those functionalities that implement WebLifecycle.
Sub-classes that want to do custom activation should override this method and make the super call
first before doing the custom stuff:
public void activate() {
super.activate();
myActivate();
}
activate in interface WebLifecycleactivate in class AGSLocalMapResourcepublic void passivate()
GISResource
This method is called by the associated WebContext when the context itself is being passivated. This
typically happens after a user request to perform a set of operations has been serviced. A GISResource is
unavailable for the execution of more operations after this method has been called.
This method iterates through all its supported GISFunctionalitys and calls the passivate()
method on those functionalities that implement WebLifecycle.
Sub-classes that want to do custom passivation should override this method and do the custom passivation first
before making the super call:
public void passivate() {
myPassivate();
super.passivate();
}
passivate in interface WebLifecyclepassivate in class AGSLocalMapResourcepublic void destroy()
GISResource
The cleanup (final) chores of the resource like releasing held resources must be performed in this method. This is
typically called when the context itself is being destroyed or when users remove this resource from the context by
using the WebContext.removeResource(GISResource) method. A GISResource is unusable after this
method has been called.
This method iterates through all its supported GISFunctionalitys and calls the
GISFunctionality.destroyFunctionality() on them all.
Sub-classes that want to do custom cleanup chores should override this method and do the custom cleanup first
before making the super call:
public void destroy() {
myDestroy();
super.destroy();
}
destroy in interface WebContextInitializedestroy in class AGSLocalMapResource
public java.lang.Object getExtensionServer(java.lang.String extensionType)
throws java.lang.Exception
getExtensionServer in interface AGSExtensionsjava.lang.Exception
public com.esri.arcgis.server.IServerObjectExtension getLocalExtensionServer(java.lang.String extensionType)
throws java.lang.Exception
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||