com.esri.adf.web.aws.data
Class AWSResource

java.lang.Object
  extended by com.esri.adf.web.data.GISResource
      extended by com.esri.adf.web.aws.data.AWSResource
All Implemented Interfaces:
WebContextInitialize, WebLifecycle, java.io.Serializable
Direct Known Subclasses:
AWSGeocodeResource, AWSMapResource, AWSQueryResource

Deprecated. This class is deprecated as of ArcGIS Java Server 9.3.1, no replacement

@Deprecated
public class AWSResource
extends GISResource

See Also:
Serialized Form

Field Summary
protected  com.esri.aws.IAuthentication_PortType authentication
          Deprecated.  
protected  com.esri.aws.IContentFinder_PortType content
          Deprecated.  
protected  int coordSysId
          Deprecated.  
static int DEFAULT_COORDSYS
          Deprecated.  
static java.lang.String NO_GEOM_RETURN
          Deprecated.  
static java.lang.String TOKEN_EXPIRED_CODE
          Deprecated.  
 
Fields inherited from class com.esri.adf.web.data.GISResource
alias, context, defaultSpatialReference, functionalities, init
 
Constructor Summary
AWSResource()
          Deprecated.  
 
Method Summary
 java.lang.String getAlias()
          Deprecated.  Returns a reader friendly name for this resource.
 java.lang.String getAuthenticationEndPointURL()
          Deprecated.  
 java.lang.String getContentFinderEndPointURL()
          Deprecated.  
 com.esri.aws.ContentFinderRecord getDataSourceMetadata(java.lang.String dataSourceName, java.lang.String serviceType)
          Deprecated.  
 java.lang.String getPassword()
          Deprecated.  
 java.lang.String getToken()
          Deprecated.  
 int getTokenExpiryMinutes()
          Deprecated.  
 java.lang.String getUserName()
          Deprecated.  
 void init(WebContext context)
          Deprecated.  This method is called by the WebContext to initialize the resource.
 boolean isPasswordEncrypted()
          Deprecated.  
 void setAuthenticationEndPointURL(java.lang.String authenticationEndPointURL)
          Deprecated.  
 void setContentFinderEndPointURL(java.lang.String contentFinderEndPointURL)
          Deprecated.  
 void setPassword(java.lang.String password)
          Deprecated.  
 void setPasswordEncrypted(boolean passwordEncrypted)
          Deprecated.  
 void setToken(java.lang.String token)
          Deprecated.  
 void setTokenExpiryMinutes(int tokenExpiryMinutes)
          Deprecated.  
 void setUserName(java.lang.String userName)
          Deprecated.  
 
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

TOKEN_EXPIRED_CODE

public static final java.lang.String TOKEN_EXPIRED_CODE
Deprecated. 
See Also:
Constant Field Values

NO_GEOM_RETURN

public static final java.lang.String NO_GEOM_RETURN
Deprecated. 
See Also:
Constant Field Values

authentication

protected transient com.esri.aws.IAuthentication_PortType authentication
Deprecated. 

content

protected transient com.esri.aws.IContentFinder_PortType content
Deprecated. 

DEFAULT_COORDSYS

public static int DEFAULT_COORDSYS
Deprecated. 

coordSysId

protected int coordSysId
Deprecated. 
Constructor Detail

AWSResource

public AWSResource()
Deprecated. 
Method Detail

init

public void init(WebContext context)
Deprecated. 
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 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();
 }
 

Specified by:
init in interface WebContextInitialize
Overrides:
init in class GISResource
Parameters:
context - 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)

getAlias

public java.lang.String getAlias()
Deprecated. 
Description copied from class: 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.

Overrides:
getAlias in class GISResource
Returns:
a reader friendly name for this resource

getToken

public java.lang.String getToken()
Deprecated. 

getAuthenticationEndPointURL

public java.lang.String getAuthenticationEndPointURL()
Deprecated. 

getContentFinderEndPointURL

public java.lang.String getContentFinderEndPointURL()
Deprecated. 

getUserName

public java.lang.String getUserName()
Deprecated. 

getPassword

public java.lang.String getPassword()
Deprecated. 

isPasswordEncrypted

public boolean isPasswordEncrypted()
Deprecated. 

getTokenExpiryMinutes

public int getTokenExpiryMinutes()
Deprecated. 

setToken

public void setToken(java.lang.String token)
Deprecated. 

setAuthenticationEndPointURL

public void setAuthenticationEndPointURL(java.lang.String authenticationEndPointURL)
Deprecated. 

setContentFinderEndPointURL

public void setContentFinderEndPointURL(java.lang.String contentFinderEndPointURL)
Deprecated. 

setUserName

public void setUserName(java.lang.String userName)
Deprecated. 

setPassword

public void setPassword(java.lang.String password)
Deprecated. 

setPasswordEncrypted

public void setPasswordEncrypted(boolean passwordEncrypted)
Deprecated. 

setTokenExpiryMinutes

public void setTokenExpiryMinutes(int tokenExpiryMinutes)
Deprecated. 

getDataSourceMetadata

public com.esri.aws.ContentFinderRecord getDataSourceMetadata(java.lang.String dataSourceName,
                                                              java.lang.String serviceType)
Deprecated.