Package cloud.piranha.monitor.jmx
Class PiranhaInfo
- java.lang.Object
-
- cloud.piranha.monitor.jmx.PiranhaInfo
-
- All Implemented Interfaces:
PiranhaInfoMBean
public class PiranhaInfo extends Object implements PiranhaInfoMBean
The Piranha Info MBean implementation.- Author:
- Manfred Riem ([email protected])
-
-
Constructor Summary
Constructors Constructor Description PiranhaInfo()
Constructor.PiranhaInfo(Piranha piranha)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Piranha
getPiranha()
Get the reference to Piranha.String
getVersion()
Get the version.void
setPiranha(Piranha piranha)
Set the reference to Piranha.
-
-
-
Constructor Detail
-
PiranhaInfo
public PiranhaInfo()
Constructor.
-
PiranhaInfo
public PiranhaInfo(Piranha piranha)
Constructor.- Parameters:
piranha
- the reference to Piranha.
-
-
Method Detail
-
getPiranha
public Piranha getPiranha()
Get the reference to Piranha.- Specified by:
getPiranha
in interfacePiranhaInfoMBean
- Returns:
- the reference to Piranha.
-
getVersion
public String getVersion()
Get the version.- Specified by:
getVersion
in interfacePiranhaInfoMBean
- Returns:
- the version.
-
setPiranha
public void setPiranha(Piranha piranha)
Set the reference to Piranha.- Specified by:
setPiranha
in interfacePiranhaInfoMBean
- Parameters:
piranha
- the reference to Piranha.
-
-