com.jdon.annotation.Singleton Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jdonframework Show documentation
Show all versions of jdonframework Show documentation
JdonFramework is a java framework that you can use to build your Domain Driven Design + CQRS + EventSource applications with asynchronous concurrency and higher throughput.
package com.jdon.annotation;
import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
/**
* @Component
* is equals to:
*
*
* @Component's name will be the class's getClass.getName();
* Component not open for the client, so default no need name,
* but if you call the component from the client, you can use
* the @Component's name(class's getClass.getName()).
*
*/
@Target(TYPE)
@Retention(RUNTIME)
@Documented
public @interface Singleton {
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy