geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jstrac...@apache.org
Subject cvs commit: incubator-geronimo/modules/core/src/java/javax/management/j2ee Management.java ManagementHome.java ListenerRegistration.java
Date Thu, 14 Aug 2003 10:51:34 GMT
jstrachan    2003/08/14 03:51:34

  Added:       modules/core/src/java/javax/management/j2ee/statistics
                        JCAConnectionPoolStats.java JCAConnectionStats.java
                        JMSConsumerStats.java BoundedRangeStatistic.java
                        TimeStatistic.java JTAStats.java
                        JMSEndpointStats.java URLStats.java EJBStats.java
                        ServletStats.java JMSConnectionStats.java
                        JDBCConnectionStats.java JavaMailStats.java
                        StatelessSessionBeanStats.java Statistic.java
                        JMSProducerStats.java Stats.java
                        JMSSessionStats.java JDBCStats.java
                        StatefulSessionBeanStats.java SessionBeanStats.java
                        RangeStatistic.java JVMStats.java
                        MessageDrivenBeanStats.java JMSStats.java
                        CountStatistic.java BoundaryStatistic.java
                        JDBCConnectionPoolStats.java JCAStats.java
                        EntityBeanStats.java
               modules/core/src/test/javax/management/j2ee
                        ListenerRegistrationTest.java
               modules/core/src/java/javax/management/j2ee Management.java
                        ManagementHome.java ListenerRegistration.java
  Log:
  applied the clean roomed implementation of the javax.management.j2ee.* APIs from a patch
from Maas
  
  Revision  Changes    Path
  1.1                  incubator-geronimo/modules/core/src/java/javax/management/j2ee/statistics/JCAConnectionPoolStats.java
  
  Index: JCAConnectionPoolStats.java
  ===================================================================
  package javax.management.j2ee.statistics;
  
  /**
   *
   *
   *
   * @version $Revision: 1.1 $
   */
  public interface JCAConnectionPoolStats extends JCAConnectionStats {
      public CountStatistic getCloseCount();
  
      public CountStatistic getCreateCount();
  
      public BoundedRangeStatistic getFreePoolSize();
  
      public BoundedRangeStatistic getPoolSize();
  
      public RangeStatistic getWaitingThreadCount();
  }
  
  
  1.1                  incubator-geronimo/modules/core/src/java/javax/management/j2ee/statistics/JCAConnectionStats.java
  
  Index: JCAConnectionStats.java
  ===================================================================
  package javax.management.j2ee.statistics;
  
  /**
   *
   *
   *
   * @version $Revision: 1.1 $
   */
  public interface JCAConnectionStats extends Stats {
      public String getConnectionFactory();
  
      public String getManagedConnectionFactory();
  
      public TimeStatistic getWaitTime();
  
      public TimeStatistic getUseTime();
  }
  
  
  1.1                  incubator-geronimo/modules/core/src/java/javax/management/j2ee/statistics/JMSConsumerStats.java
  
  Index: JMSConsumerStats.java
  ===================================================================
  package javax.management.j2ee.statistics;
  
  /**
   *
   *
   *
   * @version $Revision: 1.1 $
   */
  public interface JMSConsumerStats extends JMSEndpointStats {
      public String getOrigin();
  }
  
  
  1.1                  incubator-geronimo/modules/core/src/java/javax/management/j2ee/statistics/BoundedRangeStatistic.java
  
  Index: BoundedRangeStatistic.java
  ===================================================================
  package javax.management.j2ee.statistics;
  
  /**
   *
   *
   *
   * @version $Revision: 1.1 $
   */
  public interface BoundedRangeStatistic extends BoundaryStatistic, RangeStatistic {
  }
  
  
  
  1.1                  incubator-geronimo/modules/core/src/java/javax/management/j2ee/statistics/TimeStatistic.java
  
  Index: TimeStatistic.java
  ===================================================================
  package javax.management.j2ee.statistics;
  
  /**
   *
   *
   *
   * @version $Revision: 1.1 $
   */
  public interface TimeStatistic extends Statistic {
      public long getCount();
  
      public long getMaxTime();
  
      public long getMinTime();
  
      public long getTotalTime();
  }
  
  
  1.1                  incubator-geronimo/modules/core/src/java/javax/management/j2ee/statistics/JTAStats.java
  
  Index: JTAStats.java
  ===================================================================
  package javax.management.j2ee.statistics;
  
  /**
   *
   *
   *
   * @version $Revision: 1.1 $
   */
  public interface JTAStats extends Stats {
      public CountStatistic getActiveCount();
  
      public CountStatistic getCommittedCount();
  
      public CountStatistic getRolledbackCount();
  }
  
  
  1.1                  incubator-geronimo/modules/core/src/java/javax/management/j2ee/statistics/JMSEndpointStats.java
  
  Index: JMSEndpointStats.java
  ===================================================================
  package javax.management.j2ee.statistics;
  
  /**
   *
   *
   *
   * @version $Revision: 1.1 $
   */
  public interface JMSEndpointStats extends Stats {
      public CountStatistic getMessageCount();
  
      public CountStatistic getPendingMessageCount();
  
      public CountStatistic getExpiredMessageCount();
  
      public TimeStatistic getMessageWaitTime();
  }
  
  
  1.1                  incubator-geronimo/modules/core/src/java/javax/management/j2ee/statistics/URLStats.java
  
  Index: URLStats.java
  ===================================================================
  package javax.management.j2ee.statistics;
  
  /**
   *
   *
   *
   * @version $Revision: 1.1 $
   */
  public interface URLStats extends Stats {
  }
  
  
  
  1.1                  incubator-geronimo/modules/core/src/java/javax/management/j2ee/statistics/EJBStats.java
  
  Index: EJBStats.java
  ===================================================================
  package javax.management.j2ee.statistics;
  
  /**
   *
   *
   *
   * @version $Revision: 1.1 $
   */
  public interface EJBStats extends Stats {
      public CountStatistic getCreateCount();
  
      public CountStatistic getRemoveCount();
  }
  
  
  1.1                  incubator-geronimo/modules/core/src/java/javax/management/j2ee/statistics/ServletStats.java
  
  Index: ServletStats.java
  ===================================================================
  package javax.management.j2ee.statistics;
  
  /**
   *
   *
   *
   * @version $Revision: 1.1 $
   */
  public interface ServletStats extends Stats {
      public TimeStatistic getServiceTime();
  }
  
  
  1.1                  incubator-geronimo/modules/core/src/java/javax/management/j2ee/statistics/JMSConnectionStats.java
  
  Index: JMSConnectionStats.java
  ===================================================================
  package javax.management.j2ee.statistics;
  
  /**
   *
   *
   *
   * @version $Revision: 1.1 $
   */
  public interface JMSConnectionStats extends Stats {
      public JMSSessionStats[] getSessions();
  
      public boolean isTransactional();
  }
  
  
  1.1                  incubator-geronimo/modules/core/src/java/javax/management/j2ee/statistics/JDBCConnectionStats.java
  
  Index: JDBCConnectionStats.java
  ===================================================================
  package javax.management.j2ee.statistics;
  
  /**
   *
   *
   *
   * @version $Revision: 1.1 $
   */
  public interface JDBCConnectionStats extends Stats {
      public String getJdbcDataSource();
  
      public TimeStatistic getWaitTime();
  
      public TimeStatistic getUseTime();
  }
  
  
  1.1                  incubator-geronimo/modules/core/src/java/javax/management/j2ee/statistics/JavaMailStats.java
  
  Index: JavaMailStats.java
  ===================================================================
  package javax.management.j2ee.statistics;
  
  /**
   *
   *
   *
   * @version $Revision: 1.1 $
   */
  public interface JavaMailStats {
      public CountStatistic getSentMailCount();
  }
  
  
  1.1                  incubator-geronimo/modules/core/src/java/javax/management/j2ee/statistics/StatelessSessionBeanStats.java
  
  Index: StatelessSessionBeanStats.java
  ===================================================================
  package javax.management.j2ee.statistics;
  
  /**
   *
   *
   *
   * @version $Revision: 1.1 $
   */
  public interface StatelessSessionBeanStats extends SessionBeanStats {
  }
  
  
  
  1.1                  incubator-geronimo/modules/core/src/java/javax/management/j2ee/statistics/Statistic.java
  
  Index: Statistic.java
  ===================================================================
  package javax.management.j2ee.statistics;
  
  /**
   *
   *
   *
   * @version $Revision: 1.1 $
   */
  public interface Statistic {
      public String getName();
  
      public String getUnit();
  
      public String getDescription();
  
      public long getStartTime();
  
      public long getLastSampleTime();
  }
  
  
  1.1                  incubator-geronimo/modules/core/src/java/javax/management/j2ee/statistics/JMSProducerStats.java
  
  Index: JMSProducerStats.java
  ===================================================================
  package javax.management.j2ee.statistics;
  
  /**
   *
   *
   *
   * @version $Revision: 1.1 $
   */
  public interface JMSProducerStats extends JMSEndpointStats {
      public String getDestination();
  }
  
  
  
  1.1                  incubator-geronimo/modules/core/src/java/javax/management/j2ee/statistics/Stats.java
  
  Index: Stats.java
  ===================================================================
  package javax.management.j2ee.statistics;
  
  /**
   *
   *
   *
   * @version $Revision: 1.1 $
   */
  public interface Stats {
      public Statistic getStatistic(String statisticName);
  
      public String[] getStatisticNames();
  
      public Statistic[] getStatistics();
  }
  
  
  1.1                  incubator-geronimo/modules/core/src/java/javax/management/j2ee/statistics/JMSSessionStats.java
  
  Index: JMSSessionStats.java
  ===================================================================
  package javax.management.j2ee.statistics;
  
  /**
   *
   *
   *
   * @version $Revision: 1.1 $
   */
  public interface JMSSessionStats extends Stats {
      public JMSProducerStats[] getProducers();
  
      public JMSConsumerStats[] getConsumers();
  
      public CountStatistic getMessageCount();
  
      public CountStatistic getPendingMessageCount();
  
      public CountStatistic getExpiredMessageCount();
  
      public TimeStatistic getMessageWaitTime();
  
      public CountStatistic getDurableSubscriptionCount();
  }
  
  
  1.1                  incubator-geronimo/modules/core/src/java/javax/management/j2ee/statistics/JDBCStats.java
  
  Index: JDBCStats.java
  ===================================================================
  package javax.management.j2ee.statistics;
  
  /**
   *
   *
   *
   * @version $Revision: 1.1 $
   */
  public interface JDBCStats extends Stats {
      public JDBCConnectionStats[] getConnections();
  
      public JDBCConnectionPoolStats[] getConnectionPools();
  }
  
  
  1.1                  incubator-geronimo/modules/core/src/java/javax/management/j2ee/statistics/StatefulSessionBeanStats.java
  
  Index: StatefulSessionBeanStats.java
  ===================================================================
  package javax.management.j2ee.statistics;
  
  /**
   *
   *
   *
   * @version $Revision: 1.1 $
   */
  public interface StatefulSessionBeanStats extends SessionBeanStats {
      public RangeStatistic getPassiveCount();
  }
  
  
  1.1                  incubator-geronimo/modules/core/src/java/javax/management/j2ee/statistics/SessionBeanStats.java
  
  Index: SessionBeanStats.java
  ===================================================================
  package javax.management.j2ee.statistics;
  
  /**
   *
   *
   *
   * @version $Revision: 1.1 $
   */
  public interface SessionBeanStats {
      public RangeStatistic getMethodReadyCount();
  }
  
  
  1.1                  incubator-geronimo/modules/core/src/java/javax/management/j2ee/statistics/RangeStatistic.java
  
  Index: RangeStatistic.java
  ===================================================================
  package javax.management.j2ee.statistics;
  
  /**
   *
   *
   *
   * @version $Revision: 1.1 $
   */
  public interface RangeStatistic extends Statistic {
      public long getHighWaterMark();
  
      public long getLowWaterMark();
  
      public long getCurrent();
  }
  
  
  1.1                  incubator-geronimo/modules/core/src/java/javax/management/j2ee/statistics/JVMStats.java
  
  Index: JVMStats.java
  ===================================================================
  package javax.management.j2ee.statistics;
  
  /**
   *
   *
   *
   * @version $Revision: 1.1 $
   */
  public interface JVMStats extends Stats {
      public CountStatistic getUpTime();
  
      public BoundedRangeStatistic getHeapSize();
  }
  
  
  1.1                  incubator-geronimo/modules/core/src/java/javax/management/j2ee/statistics/MessageDrivenBeanStats.java
  
  Index: MessageDrivenBeanStats.java
  ===================================================================
  package javax.management.j2ee.statistics;
  
  /**
   *
   *
   *
   * @version $Revision: 1.1 $
   */
  public interface MessageDrivenBeanStats extends EJBStats {
      public CountStatistic getMessageCount();
  }
  
  
  
  1.1                  incubator-geronimo/modules/core/src/java/javax/management/j2ee/statistics/JMSStats.java
  
  Index: JMSStats.java
  ===================================================================
  package javax.management.j2ee.statistics;
  
  /**
   *
   *
   *
   * @version $Revision: 1.1 $
   */
  public interface JMSStats extends Stats {
      public JMSConnectionStats[] getConnections();
  }
  
  
  1.1                  incubator-geronimo/modules/core/src/java/javax/management/j2ee/statistics/CountStatistic.java
  
  Index: CountStatistic.java
  ===================================================================
  package javax.management.j2ee.statistics;
  
  /**
   *
   *
   *
   * @version $Revision: 1.1 $
   */
  public interface CountStatistic extends Statistic {
      public long getCount();
  }
  
  
  1.1                  incubator-geronimo/modules/core/src/java/javax/management/j2ee/statistics/BoundaryStatistic.java
  
  Index: BoundaryStatistic.java
  ===================================================================
  package javax.management.j2ee.statistics;
  
  /**
   *
   *
   *
   * @version $Revision: 1.1 $
   */
  public interface BoundaryStatistic extends Statistic {
      public long getUpperBound();
  
      public long getLowerBound();
  }
  
  
  
  1.1                  incubator-geronimo/modules/core/src/java/javax/management/j2ee/statistics/JDBCConnectionPoolStats.java
  
  Index: JDBCConnectionPoolStats.java
  ===================================================================
  package javax.management.j2ee.statistics;
  
  /**
   *
   *
   *
   * @version $Revision: 1.1 $
   */
  public interface JDBCConnectionPoolStats extends JDBCConnectionStats {
      public CountStatistic getCreateCount();
  
      public CountStatistic getCloseCount();
  
      public BoundedRangeStatistic getPoolSize();
  
      public BoundedRangeStatistic getFreePoolSize();
  
      public RangeStatistic getWaitingThreadCount();
  }
  
  
  1.1                  incubator-geronimo/modules/core/src/java/javax/management/j2ee/statistics/JCAStats.java
  
  Index: JCAStats.java
  ===================================================================
  package javax.management.j2ee.statistics;
  
  /**
   *
   *
   *
   * @version $Revision: 1.1 $
   */
  public interface JCAStats extends Stats {
      public JCAConnectionStats[] getConnections();
  
      public JCAConnectionPoolStats[] getConnectionPools();
  }
  
  
  1.1                  incubator-geronimo/modules/core/src/java/javax/management/j2ee/statistics/EntityBeanStats.java
  
  Index: EntityBeanStats.java
  ===================================================================
  package javax.management.j2ee.statistics;
  
  /**
   *
   *
   *
   * @version $Revision: 1.1 $
   */
  public interface EntityBeanStats extends EJBStats {
      public RangeStatistic getReadyCount();
  
      public RangeStatistic getPooledCount();
  }
  
  
  1.1                  incubator-geronimo/modules/core/src/test/javax/management/j2ee/ListenerRegistrationTest.java
  
  Index: ListenerRegistrationTest.java
  ===================================================================
  package javax.management.j2ee;
  
  import junit.framework.TestCase;
  
  public class ListenerRegistrationTest extends TestCase {
      public void testAddNotificationListener() {
          /*@todo implement*/
  
      }
  
      public void testRemoveNotificationListener() {
          /*@todo implement*/
      }
  }
  
  
  1.1                  incubator-geronimo/modules/core/src/java/javax/management/j2ee/Management.java
  
  Index: Management.java
  ===================================================================
  package javax.management.j2ee;
  
  import javax.ejb.EJBObject;
  import javax.management.*;
  import java.rmi.RemoteException;
  import java.util.Set;
  
  /**
   *
   *
   *
   * @version $Revision: 1.1 $
   */
  public interface Management extends EJBObject {
      public Object getAttribute(ObjectName name, String attribute) throws MBeanException,
AttributeNotFoundException, InstanceNotFoundException, ReflectionException, RemoteException;
  
      public AttributeList getAttributes(ObjectName name, String[] attributes) throws InstanceNotFoundException,
ReflectionException, RemoteException;
  
      public String getDefaultDomain() throws RemoteException;
  
      public Integer getMBeanCount() throws RemoteException;
  
      public MBeanInfo getMBeanInfo(ObjectName name) throws IntrospectionException, InstanceNotFoundException,
ReflectionException, RemoteException;
  
      public Object invoke(ObjectName name, String operationName, Object[] params, String[]
signature) throws InstanceNotFoundException, MBeanException, ReflectionException, RemoteException;
  
      public boolean isRegistered(ObjectName name) throws RemoteException;
  
      public Set quertyNames(ObjectName name, QueryExp query) throws RemoteException;
  
      public void setAttribute(ObjectName name, Attribute attribute) throws InstanceNotFoundException,
AttributeNotFoundException, InvalidAttributeValueException, MBeanException, ReflectionException,
RemoteException;
  
      public AttributeList setAttributes(ObjectName name, AttributeList attributes) throws
InstanceNotFoundException, ReflectionException, RemoteException;
  
      public ListenerRegistration getListenerRegistration() throws RemoteException;
  }
  
  
  1.1                  incubator-geronimo/modules/core/src/java/javax/management/j2ee/ManagementHome.java
  
  Index: ManagementHome.java
  ===================================================================
  package javax.management.j2ee;
  
  import javax.ejb.EJBHome;
  import javax.ejb.CreateException;
  import java.rmi.RemoteException;
  
  /**
   *
   *
   *
   * @version $Revision: 1.1 $
   */
  public interface ManagementHome extends EJBHome {
      public Management create() throws CreateException, RemoteException;
  }
  
  
  1.1                  incubator-geronimo/modules/core/src/java/javax/management/j2ee/ListenerRegistration.java
  
  Index: ListenerRegistration.java
  ===================================================================
  package javax.management.j2ee;
  
  import javax.management.*;
  import java.io.Serializable;
  import java.rmi.RemoteException;
  
  /**
   *
   *
   *
   * @version $Revision: 1.1 $
   */
  public class ListenerRegistration implements Serializable {
      public void addNotificationListener(ObjectName name, NotificationListener listener,
NotificationFilter filter, Object handback) throws InstanceNotFoundException, RemoteException
{
          /*@todo implement*/
      }
  
      public void removeNotificationListener(ObjectName name, NotificationListener listener)
throws InstanceNotFoundException, ListenerNotFoundException, RemoteException {
          /*@todo implement*/
      }
  }
  
  

Mime
View raw message