commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pste...@apache.org
Subject cvs commit: jakarta-commons-sandbox/naming/core/src/java/org/apache/commons/naming ContextAccessController.java JndiPermission.java ResourceEnvRef.java TransactionRef.java
Date Sun, 30 Nov 2003 05:15:07 GMT
psteitz     2003/11/29 21:15:06

  Modified:    naming/core/src/java/org/apache/commons/naming
                        ContextAccessController.java JndiPermission.java
                        ResourceEnvRef.java TransactionRef.java
  Log:
  Javadoc.
  
  Revision  Changes    Path
  1.3       +7 -7      jakarta-commons-sandbox/naming/core/src/java/org/apache/commons/naming/ContextAccessController.java
  
  Index: ContextAccessController.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/naming/core/src/java/org/apache/commons/naming/ContextAccessController.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ContextAccessController.java	13 Oct 2003 08:16:47 -0000	1.2
  +++ ContextAccessController.java	30 Nov 2003 05:15:06 -0000	1.3
  @@ -99,7 +99,7 @@
        * Set a security token for a context. Can be set only once.
        * 
        * @param name Name of the context
  -     * @param context Security token
  +     * @param token Security token
        */
       public static void setSecurityToken(Object name, Object token) {
           if ((!securityTokens.containsKey(name)) && (token != null)) {
  @@ -112,7 +112,7 @@
        * Remove a security token for a context.
        * 
        * @param name Name of the context
  -     * @param context Security token
  +     * @param token Security token
        */
       public static void unsetSecurityToken(Object name, Object token) {
           if (checkSecurityToken(name, token)) {
  @@ -127,7 +127,7 @@
        * context, then returns true.
        * 
        * @param name Name of the context
  -     * @param context Submitted security token
  +     * @param token Submitted security token
        */
       public static boolean checkSecurityToken
           (Object name, Object token) {
  
  
  
  1.3       +8 -8      jakarta-commons-sandbox/naming/core/src/java/org/apache/commons/naming/JndiPermission.java
  
  Index: JndiPermission.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/naming/core/src/java/org/apache/commons/naming/JndiPermission.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- JndiPermission.java	13 Oct 2003 08:16:47 -0000	1.2
  +++ JndiPermission.java	30 Nov 2003 05:15:06 -0000	1.3
  @@ -68,7 +68,7 @@
   import java.security.Permission;
   
   /**
  - * Java SecurityManager Permission class for JNDI name based file resources
  + * Java SecurityManager Permission class for JNDI name based file resources.
    * <p>
    * The JndiPermission extends the BasicPermission.
    * The permission name is a full or partial jndi resource name.
  @@ -90,7 +90,7 @@
       /**
        * Creates a new JndiPermission with no actions
        *
  -     * @param String - JNDI resource path name
  +     * @param name - JNDI resource path name
        */
       public JndiPermission(String name) {
           super(name);
  @@ -99,8 +99,8 @@
       /**
        * Creates a new JndiPermission with actions
        *
  -     * @param String - JNDI resource path name
  -     * @param String - JNDI actions (none defined)
  +     * @param name - JNDI resource path name
  +     * @param actions - JNDI actions (none defined)
        */
       public JndiPermission(String name, String actions) {
           super(name,actions);
  
  
  
  1.3       +8 -6      jakarta-commons-sandbox/naming/core/src/java/org/apache/commons/naming/ResourceEnvRef.java
  
  Index: ResourceEnvRef.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/naming/core/src/java/org/apache/commons/naming/ResourceEnvRef.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ResourceEnvRef.java	13 Oct 2003 08:16:47 -0000	1.2
  +++ ResourceEnvRef.java	30 Nov 2003 05:15:06 -0000	1.3
  @@ -95,7 +95,7 @@
       /**
        * Resource env reference.
        * 
  -     * @param type Type
  +     * @param resourceType Type
        */
       public ResourceEnvRef(String resourceType) {
           super(resourceType);
  @@ -105,7 +105,9 @@
       /**
        * Resource env reference.
        * 
  -     * @param type Type
  +     * @param resourceType Type
  +     * @param factory Resource Factory
  +     * @param factoryLocation Factory location
        */
       public ResourceEnvRef(String resourceType, String factory,
                             String factoryLocation) {
  
  
  
  1.3       +6 -11     jakarta-commons-sandbox/naming/core/src/java/org/apache/commons/naming/TransactionRef.java
  
  Index: TransactionRef.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/naming/core/src/java/org/apache/commons/naming/TransactionRef.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- TransactionRef.java	13 Oct 2003 08:16:47 -0000	1.2
  +++ TransactionRef.java	30 Nov 2003 05:15:06 -0000	1.3
  @@ -95,10 +95,6 @@
   
       /**
        * Resource Reference.
  -     * 
  -     * @param resourceClass Resource class
  -     * @param scope Resource scope
  -     * @param auth Resource authetication
        */
       public TransactionRef() {
           this(null, null);
  @@ -108,9 +104,8 @@
       /**
        * Resource Reference.
        * 
  -     * @param resourceClass Resource class
  -     * @param scope Resource scope
  -     * @param auth Resource authetication
  +     * @param factory Resource factory
  +     * @param factoryLocation Factory location
        */
       public TransactionRef(String factory, String factoryLocation) {
           super("javax.transaction.UserTransaction", factory, factoryLocation);
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message