Package org.apache.ace.agent

Examples of org.apache.ace.agent.AgentContext


            setAgentContext(null);
        }
    }

    protected final AgentContext getAgentContext() {
        AgentContext context = m_contextRef.get();
        if (context == null) {
            throw new IllegalStateException("Handler is not started: " + m_identifier);
        }
        return context;
    }
View Full Code Here


    protected final void logError(String message, Throwable cause, Object... args) {
        getLoggingHandler().logError(m_identifier, message, cause, args);
    }

    private void setAgentContext(AgentContext agentContext) {
        AgentContext old;
        do {
            old = m_contextRef.get();
        }
        while (!m_contextRef.compareAndSet(old, agentContext));
    }
View Full Code Here

TOP

Related Classes of org.apache.ace.agent.AgentContext

Copyright © 2018 www.massapicom. 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.