org.apache.juddi.api.impl
Class UDDIServiceCounter

java.lang.Object
  extended by org.apache.juddi.api.impl.UDDIServiceCounter
All Implemented Interfaces:
java.io.Serializable, javax.management.DynamicMBean

public class UDDIServiceCounter
extends java.lang.Object
implements javax.management.DynamicMBean, java.io.Serializable

See Also:
Serialized Form

Field Summary
static java.lang.String RESET_COUNTER
           
 
Constructor Summary
UDDIServiceCounter()
           
 
Method Summary
 java.lang.Object getAttribute(java.lang.String attribute)
           
 javax.management.AttributeList getAttributes(java.lang.String[] attributes)
           
 javax.management.MBeanInfo getMBeanInfo()
           
 void initList(java.lang.Class klass, java.util.List<java.lang.String> queries)
           
 java.lang.Object invoke(java.lang.String actionName, java.lang.Object[] params, java.lang.String[] signature)
           
protected  void registerMBean()
           
 void resetCounts()
           
 void setAttribute(javax.management.Attribute attribute)
           
 javax.management.AttributeList setAttributes(javax.management.AttributeList attributes)
           
 void update(UDDIQuery queryObject, QueryStatus queryStatus, long procTime)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESET_COUNTER

public static final java.lang.String RESET_COUNTER
See Also:
Constant Field Values
Constructor Detail

UDDIServiceCounter

public UDDIServiceCounter()
Method Detail

initList

public void initList(java.lang.Class klass,
                     java.util.List<java.lang.String> queries)

registerMBean

protected void registerMBean()

resetCounts

public void resetCounts()

update

public void update(UDDIQuery queryObject,
                   QueryStatus queryStatus,
                   long procTime)

getAttribute

public java.lang.Object getAttribute(java.lang.String attribute)
                              throws javax.management.AttributeNotFoundException,
                                     javax.management.MBeanException,
                                     javax.management.ReflectionException
Specified by:
getAttribute in interface javax.management.DynamicMBean
Throws:
javax.management.AttributeNotFoundException
javax.management.MBeanException
javax.management.ReflectionException

setAttribute

public void setAttribute(javax.management.Attribute attribute)
                  throws javax.management.AttributeNotFoundException,
                         javax.management.InvalidAttributeValueException,
                         javax.management.MBeanException,
                         javax.management.ReflectionException
Specified by:
setAttribute in interface javax.management.DynamicMBean
Throws:
javax.management.AttributeNotFoundException
javax.management.InvalidAttributeValueException
javax.management.MBeanException
javax.management.ReflectionException

getAttributes

public javax.management.AttributeList getAttributes(java.lang.String[] attributes)
Specified by:
getAttributes in interface javax.management.DynamicMBean

setAttributes

public javax.management.AttributeList setAttributes(javax.management.AttributeList attributes)
Specified by:
setAttributes in interface javax.management.DynamicMBean

invoke

public java.lang.Object invoke(java.lang.String actionName,
                               java.lang.Object[] params,
                               java.lang.String[] signature)
                        throws javax.management.MBeanException,
                               javax.management.ReflectionException
Specified by:
invoke in interface javax.management.DynamicMBean
Throws:
javax.management.MBeanException
javax.management.ReflectionException

getMBeanInfo

public javax.management.MBeanInfo getMBeanInfo()
Specified by:
getMBeanInfo in interface javax.management.DynamicMBean


Copyright © 2004-2011 The Apache Software Foundation. All Rights Reserved.