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

net.java.truecommons.annotations.ServiceImplementation Maven / Gradle / Ivy

Go to download

Provides common annotations with processors. You should use the scope "provided" when adding this module as a dependency.

The newest version!
/*
 * Copyright (C) 2005-2015 Schlichtherle IT Services.
 * All rights reserved. Use is subject to license terms.
 */
package net.java.truecommons.annotations;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Target;

/**
 * Indicates that the annotated class implements a locatable service.
 *
 * @see    Package Summary
 * @since  TrueCommons 2.1
 * @author Christian Schlichtherle
 */
@Target(ElementType.TYPE)
@Documented
public @interface ServiceImplementation {

    /**
     * Returns the implemented specification classes.
     * If empty, all superclasses and implemented interfaces get scanned for
     * {@link ServiceSpecification} annotations.
     *
     * @return The implemented specification classes.
     */
    Class[] value() default {};
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy