X-Git-Url: http://wamblee.org/gitweb/?a=blobdiff_plain;f=support%2Fcdi%2Fsrc%2Fmain%2Fjava%2Forg%2Fwamblee%2Fcdi%2FInjector.java;fp=support%2Fcdi%2Fsrc%2Fmain%2Fjava%2Forg%2Fwamblee%2Fcdi%2FInjector.java;h=ad1648e8c6c17beaac1adbe60b4c22db4f6edf55;hb=cbb032a4e384ae54d9c7f5f42758622f53a17bb7;hp=0000000000000000000000000000000000000000;hpb=2a90c02cde9e8e31ecd4cf01baf91f798b262eb3;p=utils diff --git a/support/cdi/src/main/java/org/wamblee/cdi/Injector.java b/support/cdi/src/main/java/org/wamblee/cdi/Injector.java new file mode 100644 index 00000000..ad1648e8 --- /dev/null +++ b/support/cdi/src/main/java/org/wamblee/cdi/Injector.java @@ -0,0 +1,33 @@ +/* + * Copyright 2005-2010 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.wamblee.cdi; + +/** + * Interface used to perform injection with. + * + * @author Erik Brakkee + */ +public interface Injector { + + /** + * Injects beans into a given component of the required class. + * + * @param aComponent + * Component to inject into. + */ + public abstract void inject(Object aComponent); + +} \ No newline at end of file