Examples of destroyKnownAgentClient()


Examples of org.rhq.enterprise.server.core.comm.ServerCommunicationsServiceMBean.destroyKnownAgentClient()

    public void destroyAgentClient(Agent agent) {
        ServerCommunicationsServiceMBean bootstrap = ServerCommunicationsServiceUtil.getService();
        try {
            // note, this destroys the KnownAgentClient on this HA node only.  It will leave other HA nodes "dirty", but
            // that is OK as there is logic in place to handle dirty entries.
            bootstrap.destroyKnownAgentClient(agent);
            if (LOG.isDebugEnabled()) {
                LOG.debug("agent client destroyed for agent: " + agent);
            }
        } catch (Exception e) {
            // certain unit tests won't create the agentClient
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.