org.rhq.core.pc.agent
Interface AgentServiceLifecycleListener


public interface AgentServiceLifecycleListener

Implementations of this interface that are added to the plugin container will be notified when any AgentService is started or stopped.

This is used, for example, by the agent since it needs to remote all agent services when they are started and "unremote" the agent services when they are shutdown.


Method Summary
 void started(AgentService agentService)
          Notifies the listener that the plugin container has started the given agent service.
 void stopped(AgentService agentService)
          Notifies the listener that the plugin container has stopped the given agent service.
 

Method Detail

started

void started(AgentService agentService)
Notifies the listener that the plugin container has started the given agent service.

Parameters:
agentService -

stopped

void stopped(AgentService agentService)
Notifies the listener that the plugin container has stopped the given agent service.

Parameters:
agentService -


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