geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gdam...@apache.org
Subject cvs commit: incubator-geronimo/modules/network/src/java/org/apache/geronimo/network SelectorManager.java
Date Sun, 18 Jul 2004 23:39:02 GMT
gdamour     2004/07/18 16:39:02

  Modified:    modules/network/src/java/org/apache/geronimo/network
                        SelectorManager.java
  Log:
  Fix the associated GBeanInfo.
  
  Revision  Changes    Path
  1.16      +4 -2      incubator-geronimo/modules/network/src/java/org/apache/geronimo/network/SelectorManager.java
  
  Index: SelectorManager.java
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/modules/network/src/java/org/apache/geronimo/network/SelectorManager.java,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- SelectorManager.java	12 Jul 2004 06:07:52 -0000	1.15
  +++ SelectorManager.java	18 Jul 2004 23:39:02 -0000	1.16
  @@ -262,10 +262,12 @@
   
           infoFactory.addAttribute("timeout", long.class, true);
           infoFactory.addReference("ThreadPool", ThreadPool.class);
  -        infoFactory.addAttribute("ThreadPool", ThreadPool.class, false);
  +        infoFactory.addAttribute("threadPool", ThreadPool.class, false);
           infoFactory.addAttribute("threadName", String.class, true);
   
           infoFactory.addOperation("getSelector");
  +        infoFactory.addOperation("closeChannel", new Class[] {SelectableChannel.class});
  +        infoFactory.addOperation("addInterestOps", new Class[] {SelectionKey.class, int.class});
           infoFactory.addOperation("register", new Class[] {SelectableChannel.class, int.class,
SelectionEventListner.class});
   
           GBEAN_INFO = infoFactory.getBeanInfo();
  
  
  

Mime
View raw message