/**
- * The type instance variable is used to avoid unsing RTTI when doing
+ * The type instance variable is used to avoid using RTTI when doing
* lookups.
*/
public int type;
/**
- * Retruns the Catalina component name.
+ * Returns the Catalina component name.
*/
public String getName() {
return NAME;
/**
- * Retruns the JNDI component name.
+ * Returns the JNDI component name.
*/
public String getName();
*
* @param resourceClass Resource class
* @param scope Resource scope
- * @param auth Resource authetication
+ * @param auth Resource authentication
*/
public ResourceRef(String resourceClass, String description,
String scope, String auth) {
*
* @param resourceClass Resource class
* @param scope Resource scope
- * @param auth Resource authetication
+ * @param auth Resource authentication
*/
public ResourceRef(String resourceClass, String description,
String scope, String auth, String factory,
/**
- * Crete a new EJB instance.
+ * Create a new EJB instance.
*
* @param obj The reference object describing the DataSource
*/
/**
- * Crete a new EJB instance using OpenEJB.
+ * Create a new EJB instance using OpenEJB.
*
* @param obj The reference object describing the DataSource
*/
/**
- * Crete a new Resource env instance.
+ * Create a new Resource env instance.
*
* @param obj The reference object describing the DataSource
*/
import org.apache.naming.TransactionRef;
/**
- * Object factory for User trasactions.
+ * Object factory for User transactions.
*
* @author Remy Maucherat
* @version $Revision$ $Date$
/**
- * Crete a new User transaction instance.
+ * Create a new User transaction instance.
*
* @param obj The reference object describing the DataSource
*/
* occurrence of "{i}". If null, equivalent to an empty array.
* @param cons the search controls that control the search. If null, the
* default search controls are used (equivalent to (new SearchControls())).
- * @return an enumeration of SearchResults of the objects that satisy the
+ * @return an enumeration of SearchResults of the objects that satisfy the
* filter; never null
* @exception ArrayIndexOutOfBoundsException if filterExpr contains {i}
* expressions where i is outside the bounds of the array filterArgs
/**
- * Connect to the DirContext, and retrive the bound object, as well as
+ * Connect to the DirContext, and retrieve the bound object, as well as
* its attributes. If no object is bound with the name specified in the
* URL, then an IOException is thrown.
*
* occurrence of "{i}". If null, equivalent to an empty array.
* @param cons the search controls that control the search. If null, the
* default search controls are used (equivalent to (new SearchControls())).
- * @return an enumeration of SearchResults of the objects that satisy the
+ * @return an enumeration of SearchResults of the objects that satisfy the
* filter; never null
* @exception ArrayIndexOutOfBoundsException if filterExpr contains {i}
* expressions where i is outside the bounds of the array filterArgs
* List the resources which are members of a collection.
*
* @param file Collection
- * @return Vector containg NamingEntry objects
+ * @return Vector containing NamingEntry objects
*/
protected ArrayList<NamingEntry> list(File file) {
}
}
- // Retriving object
+ // Retrieving object
if ((exists) && (entry.resource == null) && (entry.context == null)) {
try {
Object object = dirContext.lookup(name);
import java.io.IOException;
/**
- * Encapsultes the contents of a resource.
+ * Encapsulates the contents of a resource.
*
* @author <a href="mailto:remm@apache.org">Remy Maucherat</a>
* @version $Revision$
/**
- * Find a map elemnt given its name in a sorted array of map elements.
+ * Find a map element given its name in a sorted array of map elements.
* This will return the index for the closest inferior or equal item in the
* given array.
*/
* occurrence of "{i}". If null, equivalent to an empty array.
* @param cons the search controls that control the search. If null, the
* default search controls are used (equivalent to (new SearchControls())).
- * @return an enumeration of SearchResults of the objects that satisy the
+ * @return an enumeration of SearchResults of the objects that satisfy the
* filter; never null
* @exception ArrayIndexOutOfBoundsException if filterExpr contains {i}
* expressions where i is outside the bounds of the array filterArgs