org.rhq.enterprise.server.core
Class CoreServerServiceImpl

java.lang.Object
  extended by org.rhq.enterprise.server.core.CoreServerServiceImpl
All Implemented Interfaces:
CoreServerService

public class CoreServerServiceImpl
extends Object
implements CoreServerService

The service that receives agent requests to perform functionality such as registering agents.

Author:
John Mazzitelli

Constructor Summary
CoreServerServiceImpl()
           
 
Method Summary
 void agentIsShuttingDown(String agentName)
           
 ConnectAgentResults connectAgent(ConnectAgentRequest request)
           
 org.rhq.core.domain.cloud.composite.FailoverListComposite getFailoverList(String agentName)
           
 InputStream getFileContents(String file)
           
 List<org.rhq.core.domain.plugin.Plugin> getLatestPlugins()
           
 InputStream getPluginArchive(String pluginName)
           
 AgentRegistrationResults registerAgent(AgentRegistrationRequest request)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CoreServerServiceImpl

public CoreServerServiceImpl()
Method Detail

registerAgent

public AgentRegistrationResults registerAgent(AgentRegistrationRequest request)
                                       throws AgentRegistrationException,
                                              AgentNotSupportedException
Specified by:
registerAgent in interface CoreServerService
Throws:
AgentRegistrationException
AgentNotSupportedException
See Also:
CoreServerService.registerAgent(AgentRegistrationRequest)

connectAgent

public ConnectAgentResults connectAgent(ConnectAgentRequest request)
                                 throws AgentRegistrationException,
                                        AgentNotSupportedException
Specified by:
connectAgent in interface CoreServerService
Throws:
AgentRegistrationException
AgentNotSupportedException
See Also:
CoreServerService.connectAgent(ConnectAgentRequest)

getLatestPlugins

public List<org.rhq.core.domain.plugin.Plugin> getLatestPlugins()
Specified by:
getLatestPlugins in interface CoreServerService
See Also:
CoreServerService.getLatestPlugins()

getPluginArchive

public InputStream getPluginArchive(String pluginName)
Specified by:
getPluginArchive in interface CoreServerService
See Also:
CoreServerService.getPluginArchive(String)

getFileContents

public InputStream getFileContents(String file)
Specified by:
getFileContents in interface CoreServerService
See Also:
CoreServerService.getFileContents(String)

agentIsShuttingDown

public void agentIsShuttingDown(String agentName)
Specified by:
agentIsShuttingDown in interface CoreServerService
See Also:
CoreServerService.agentIsShuttingDown(String)

getFailoverList

public org.rhq.core.domain.cloud.composite.FailoverListComposite getFailoverList(String agentName)
Specified by:
getFailoverList in interface CoreServerService


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.