com.esri.adf.web.ejb.data
Class EJBGeocodeResource

java.lang.Object
  extended by com.esri.adf.web.data.GISResource
      extended by com.esri.adf.web.ejb.data.EJBGeocodeResource
All Implemented Interfaces:
WebContextInitialize, WebLifecycle, java.io.Serializable

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

@Deprecated
public class EJBGeocodeResource
extends GISResource

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.esri.adf.web.data.GISResource
alias, context, defaultSpatialReference, functionalities, init
 
Constructor Summary
EJBGeocodeResource()
          Deprecated.  
 
Method Summary
 java.lang.String getAlias()
          Deprecated.  Returns a reader friendly name for this resource.
 com.esri.adf.ejb.geocode.GeocodeEJB getGeocodeEJB()
          Deprecated.  
 java.util.Map<java.lang.String,java.lang.String> getJndiConnectionEnvProperties()
          Deprecated.  
 java.lang.String getJNDIName(java.lang.String name)
          Deprecated.  
 java.util.Map<java.lang.String,java.lang.String> getJndiNames()
          Deprecated.  
 void init(WebContext context)
          Deprecated.  This method is called by the WebContext to initialize the resource.
 void setGeocodeEJB(com.esri.adf.ejb.geocode.GeocodeEJB geocode)
          Deprecated.  
 void setJndiConnectionEnvProperties(java.util.Map<java.lang.String,java.lang.String> jndiConnectionEnvProperties)
          Deprecated.  
 void setJndiNames(java.util.Map<java.lang.String,java.lang.String> jndiNames)
          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
 

Constructor Detail

EJBGeocodeResource

public EJBGeocodeResource()
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

setJndiConnectionEnvProperties

public void setJndiConnectionEnvProperties(java.util.Map<java.lang.String,java.lang.String> jndiConnectionEnvProperties)
Deprecated. 

setJndiNames

public void setJndiNames(java.util.Map<java.lang.String,java.lang.String> jndiNames)
Deprecated. 

setGeocodeEJB

public void setGeocodeEJB(com.esri.adf.ejb.geocode.GeocodeEJB geocode)
Deprecated. 

getJndiConnectionEnvProperties

public java.util.Map<java.lang.String,java.lang.String> getJndiConnectionEnvProperties()
Deprecated. 

getJndiNames

public java.util.Map<java.lang.String,java.lang.String> getJndiNames()
Deprecated. 

getGeocodeEJB

public com.esri.adf.ejb.geocode.GeocodeEJB getGeocodeEJB()
Deprecated. 

getJNDIName

public java.lang.String getJNDIName(java.lang.String name)
Deprecated.