org.xwiki.velocity.internal.jmx
Class JMXVelocityEngine
java.lang.Object
org.xwiki.velocity.internal.jmx.JMXVelocityEngine
- All Implemented Interfaces:
- JMXVelocityEngineMBean
public class JMXVelocityEngine
- extends Object
- implements JMXVelocityEngineMBean
Uses non-stable (ie might need to be modified when we upgrade the Velocity JAR) introspection to access private
fields of Velocity. This is needed since Velocity doesn't offer a way to access information about the template
namespaces and the macros within them.
- Since:
- 2.4M2
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JMXVelocityEngine
public JMXVelocityEngine(VelocityEngine engine)
- Parameters:
engine
- the Velocity Engine for which to return management data
getTemplates
public TabularData getTemplates()
- Specified by:
getTemplates
in interface JMXVelocityEngineMBean
- Returns:
- the list of template namespaces along with the name of macros registered in each template namespace