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

net.gdface.annotation.Remote Maven / Gradle / Ivy

package net.gdface.annotation;

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

/**
 * 远程实现方法
 * @author guyadong
 *
 */
@Target({ ElementType.METHOD })
@Retention(RetentionPolicy.RUNTIME)
public @interface Remote {	
	boolean value() default true;
	Class genericTypeClass() default URL.class;
	/**
	 * 原始方法名
	 * @return
	 */
	String primtiveName()default "";
	/**
	 * 远程解析的泛型参数名
	 * @return
	 */
	String[] genericParam() default {};
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy