Package org.elasticsearch.common.inject.binder

Examples of org.elasticsearch.common.inject.binder.AnnotatedElementBuilder


        private <T> AnnotatedElementBuilder exposeInternal(Key<T> key) {
            if (privateElements == null) {
                addError("Cannot expose %s on a standard binder. "
                        + "Exposed bindings are only applicable to private binders.", key);
                return new AnnotatedElementBuilder() {
                    public void annotatedWith(Class<? extends Annotation> annotationType) {
                    }

                    public void annotatedWith(Annotation annotation) {
                    }
View Full Code Here


        private <T> AnnotatedElementBuilder exposeInternal(Key<T> key) {
            if (privateElements == null) {
                addError("Cannot expose %s on a standard binder. "
                        + "Exposed bindings are only applicable to private binders.", key);
                return new AnnotatedElementBuilder() {
                    public void annotatedWith(Class<? extends Annotation> annotationType) {
                    }

                    public void annotatedWith(Annotation annotation) {
                    }
View Full Code Here

TOP

Related Classes of org.elasticsearch.common.inject.binder.AnnotatedElementBuilder

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.