ch.elca.el4j.tests.services.monitoring.jmx
Class Foo

java.lang.Object
  extended by ch.elca.el4j.tests.services.monitoring.jmx.Foo

public class Foo
extends Object

This class is used to test the JMX package. It contains a member, a getter and a setter method for this member and an 'add' method.

Author:
Raphael Boog (RBO)
File-location:
Foo
Last check-in date:
2009-08-04 14:35:53 +0200 (Di, 04. Aug 2009) by swismer for revision 3875

Field Summary
private  String m_fullName
          The only member variable, used for testing.
 
Constructor Summary
Foo()
           
 
Method Summary
 int add(int x, int y)
          An adding method to be used for JMX testing.
 String getFullName()
          The getter method for the fullName member variable.
 void setFullName(String fullName)
          The setter method for the fullName member variable.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_fullName

private String m_fullName
The only member variable, used for testing.

Constructor Detail

Foo

public Foo()
Method Detail

setFullName

public void setFullName(String fullName)
The setter method for the fullName member variable.

Parameters:
fullName - The fullName to be set

getFullName

public String getFullName()
The getter method for the fullName member variable.

Returns:
The fullName

add

public int add(int x,
               int y)
An adding method to be used for JMX testing.

Parameters:
x - The first addend
y - The second addend
Returns:
The sum of x and y


Copyright © 2005-2011 ELCA. All Rights Reserved.