tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/deploy NamingResources.java
Date Tue, 11 Jun 2002 19:40:34 GMT
remm        2002/06/11 12:40:34

  Modified:    catalina/src/share/org/apache/catalina/deploy
                        NamingResources.java
  Log:
  - Add a link to the container object.
  
  Revision  Changes    Path
  1.9       +27 -5     jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/deploy/NamingResources.java
  
  Index: NamingResources.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/deploy/NamingResources.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- NamingResources.java	8 Jun 2002 07:28:12 -0000	1.8
  +++ NamingResources.java	11 Jun 2002 19:40:34 -0000	1.9
  @@ -96,6 +96,12 @@
   
   
       /**
  +     * Associated container object.
  +     */
  +    private Object container = null;
  +
  +
  +    /**
        * List of naming entries, keyed by name. The value is the entry type, as
        * declared by the user.
        */
  @@ -152,7 +158,23 @@
       protected PropertyChangeSupport support = new PropertyChangeSupport(this);
   
   
  -    // --------------------------------------------------------------Properties
  +    // ------------------------------------------------------------- Properties
  +
  +
  +    /**
  +     * Get the container with which the naming resources are associated.
  +     */
  +    public Object getContainer() {
  +        return container;
  +    }
  +
  +
  +    /**
  +     * Set the container with which the naming resources are associated.
  +     */
  +    public void setContainer(Object container) {
  +        this.container = container;
  +    }
   
   
       /**
  
  
  

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message