mwomack     2005/08/02 22:05:46

  Modified:    src/java/org/apache/log4j/net JMSAppender.java
  Log:
  Fix for bug #35965.  Added protected accessors for JMS related member 
variables.
  
  Revision  Changes    Path
  1.24      +24 -0     
logging-log4j/src/java/org/apache/log4j/net/JMSAppender.java
  
  Index: JMSAppender.java
  ===================================================================
  RCS file: 
/home/cvs/logging-log4j/src/java/org/apache/log4j/net/JMSAppender.java,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -r1.23 -r1.24
  --- JMSAppender.java  8 Mar 2005 22:32:57 -0000       1.23
  +++ JMSAppender.java  3 Aug 2005 05:05:46 -0000       1.24
  @@ -395,4 +395,28 @@
     public void setLocationInfo(boolean locationInfo) {
       this.locationInfo = locationInfo;
     }
  +
  +  /**
  +   * Returns the TopicConnection used for this appender.  Only valid after
  +   * activateOptions() method has been invoked.
  +   */
  +  protected TopicConnection  getTopicConnection() {
  +    return topicConnection;
  +  }
  +
  +  /**
  +   * Returns the TopicSession used for this appender.  Only valid after
  +   * activateOptions() method has been invoked.
  +   */
  +  protected TopicSession  getTopicSession() {
  +    return topicSession;
  +  }
  +
  +  /**
  +   * Returns the TopicPublisher used for this appender.  Only valid after
  +   * activateOptions() method has been invoked.
  +   */
  +  protected TopicPublisher  getTopicPublisher() {
  +    return topicPublisher;
  +  }
   }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to