org.rhq.enterprise.server.test
Class CoreTestBean
java.lang.Object
org.rhq.enterprise.server.test.CoreTestBean
- All Implemented Interfaces:
- CoreTestLocal
public class CoreTestBean
- extends java.lang.Object
- implements CoreTestLocal
An EJB for testing the core subsystem - used by TestControl.jsp.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CoreTestBean
public CoreTestBean()
isTestAgentReported
public boolean isTestAgentReported()
- Specified by:
isTestAgentReported in interface CoreTestLocal
enableHibernateStatistics
public void enableHibernateStatistics()
- Specified by:
enableHibernateStatistics in interface CoreTestLocal
registerTestAgent
public AgentRegistrationResults registerTestAgent()
- Build a fake agent and register it
- Specified by:
registerTestAgent in interface CoreTestLocal
getLatestConfiguration
public java.util.Properties getLatestConfiguration()
getLatestPlugins
public java.util.List<Plugin> getLatestPlugins()
getPluginArchive
public java.io.InputStream getPluginArchive(java.lang.String pluginName)
getFileContents
public java.io.InputStream getFileContents(java.lang.String file)
getTestAgent
public Agent getTestAgent()
- Specified by:
getTestAgent in interface CoreTestLocal
Copyright © 2008-2009 Red Hat, Inc.. All Rights Reserved.