All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.cassite.pure.ioc.annotations.Wire Maven / Gradle / Ivy

The newest version!
package net.cassite.pure.ioc.annotations;

import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Wire the instance when the system come across this class
* Note that 'new' will not have any effect.
* Also you can invoke {@link net.cassite.pure.ioc.AutoWire#wire(Object)} in * constructor to get full support of the system.
* Do not use both these methods at the same time in one class. * * @author wkgcass */ @Retention(RetentionPolicy.RUNTIME) @Target({ElementType.TYPE, ElementType.FIELD, ElementType.METHOD}) @Inherited public @interface Wire { }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy