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

Alachisoft.NCache.Common.RPCFramework.TargetMethodAttribute Maven / Gradle / Ivy

There is a newer version: 5.3.3
Show newest version
package Alachisoft.NCache.Common.RPCFramework;

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

/**
 * Identifies
 */
//C# TO JAVA CONVERTER TODO TASK: Java annotations will not correspond to .NET attributes:
//[AttributeUsage(AttributeTargets.Method)]
@Target(value = {ElementType.TYPE, ElementType.METHOD, ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
public @interface TargetMethodAttribute {
//
//    public TargetMethodAttribute(String methodName)
//    {
//        super();
//        this.setMethod(methodName);
//        this.setOverload(1);
//    }
//
//    public TargetMethodAttribute(String methodName, int overload)
//    {
//        super();
//        this.setMethod(methodName);
//        this.setOverload(overload);
//    }

    /**
     * Gets/Sets the Name of the target method to be invoked by remote client
     */
    public String privateMethod();

    /**
     * Gets/Sets the overload number of an overloaded method to be invoked by remote client
     */
    public int privateOverload();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy