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

com.peterphi.std.annotation.ServiceName Maven / Gradle / Ivy

There is a newer version: 10.1.5
Show newest version
package com.peterphi.std.annotation;

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

/**
 * A friendly alias for a service (or group of services)
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.PACKAGE, ElementType.TYPE})
public @interface ServiceName
{
	/**
	 * A friendly name the service can be known as
	 *
	 * @return
	 */
	public String value();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy