Package org.rhq.core.communications.command.annotation

Examples of org.rhq.core.communications.command.annotation.Timeout


         */
        private Long determineTimeout(Method method) {
            Long ret_timeout = m_proxyHandlerTimeout;

            if (!m_proxyHandlerIgnoreAnnotations) {
                Timeout annotation = method.getAnnotation(Timeout.class);

                if (annotation == null) {
                    annotation = method.getDeclaringClass().getAnnotation(Timeout.class);
                }

                if (annotation != null) {
                    ret_timeout = Long.valueOf(annotation.value());
                }
            }

            return ret_timeout;
        }
View Full Code Here

TOP

Related Classes of org.rhq.core.communications.command.annotation.Timeout

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.