Save This Page
Home » openjdk-7 » javax » management » [javadoc | source]
    1   /*
    2    * JBoss, the OpenSource J2EE webOS
    3    *
    4    * Distributable under LGPL license.
    5    * See terms of license at gnu.org.
    6    */
    7   package javax.management;
    8   
    9   import java.io.Serializable;
   10   
   11   /**
   12    * An implementation of Query expression. Apply always returns false.
   13    *
   14    * <p><b>Revisions:</b>
   15    * <p><b>20020317 Adrian Brock:</b>
   16    * <ul>
   17    * <li>Make queries thread safe
   18    * </ul>
   19    * 
   20    * @author  <a href="mailto:Adrian.Brock@HappeningTimes.com">Adrian Brock</a>.
   21    * @version $Revision: 1.2 $
   22    */
   23   /*package*/ class QueryExpSupport
   24      implements QueryExp
   25   {
   26      // Constants ---------------------------------------------------
   27   
   28      // Attributes --------------------------------------------------
   29   
   30      // Static ------------------------------------------------------
   31   
   32      // Public ------------------------------------------------------
   33   
   34      // QueryExp implementation -------------------------------------
   35   
   36      public boolean apply(ObjectName name)
   37         throws BadStringOperationException,
   38                BadBinaryOpValueExpException,
   39                BadAttributeValueExpException,
   40                InvalidApplicationException
   41      {
   42         return false;
   43      }
   44   
   45      public void setMBeanServer(MBeanServer server)
   46      {
   47         QueryEval.server.set(server);
   48      }
   49   
   50      // X overides --------------------------------------------------
   51   
   52      // Protected ---------------------------------------------------
   53   
   54      // Package Private ---------------------------------------------
   55   
   56      // Private -----------------------------------------------------
   57   
   58      // Inner classes -----------------------------------------------
   59   }

Save This Page
Home » openjdk-7 » javax » management » [javadoc | source]