org.apache.juddi.api.impl
Class UDDIServiceCounter

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

public class UDDIServiceCounter
extends Object
implements DynamicMBean, Serializable

See Also:
Serialized Form

Field Summary
static String RESET_COUNTER
           
 
Constructor Summary
UDDIServiceCounter()
           
 
Method Summary
 Object getAttribute(String attribute)
           
 AttributeList getAttributes(String[] attributes)
           
 MBeanInfo getMBeanInfo()
           
 void initList(Class klass, List<String> queries)
           
 Object invoke(String actionName, Object[] params, String[] signature)
           
protected  void registerMBean()
           
 void resetCounts()
           
 void setAttribute(Attribute attribute)
           
 AttributeList setAttributes(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 String RESET_COUNTER
See Also:
Constant Field Values
Constructor Detail

UDDIServiceCounter

public UDDIServiceCounter()
Method Detail

initList

public void initList(Class klass,
                     List<String> queries)

registerMBean

protected void registerMBean()

resetCounts

public void resetCounts()

update

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

getAttribute

public Object getAttribute(String attribute)
                    throws AttributeNotFoundException,
                           MBeanException,
                           ReflectionException
Specified by:
getAttribute in interface DynamicMBean
Throws:
AttributeNotFoundException
MBeanException
ReflectionException

setAttribute

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

getAttributes

public AttributeList getAttributes(String[] attributes)
Specified by:
getAttributes in interface DynamicMBean

setAttributes

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

invoke

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

getMBeanInfo

public MBeanInfo getMBeanInfo()
Specified by:
getMBeanInfo in interface DynamicMBean


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