org.rhq.enterprise.server.test
Class CoreTestBean
java.lang.Object
org.rhq.enterprise.server.test.CoreTestBean
- All Implemented Interfaces:
- CoreTestLocal
public class CoreTestBean
- extends 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 Properties getLatestConfiguration()
getLatestPlugins
public List<org.rhq.core.domain.plugin.Plugin> getLatestPlugins()
getPluginArchive
public InputStream getPluginArchive(String pluginName)
getFileContents
public InputStream getFileContents(String file)
getTestAgent
public org.rhq.core.domain.resource.Agent getTestAgent()
- Specified by:
getTestAgent in interface CoreTestLocal
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.