/** Creates a new EJBMethodPermission with name corresponding to the EJBName * and actions composed from methodInterface, and the Method object. * * A container uses this constructor prior to checking if a caller has * permission to call the method of an EJB. * * @param ejbName - the ejb-name of the target EJB * @param methodInterface - A string that may be used to specify the EJB * interface to which the permission pertains. A value of null or "", * indicates that the permission pertains to all methods that match the other * parameters of the permission specification without consideration of the * interface they occur on. * @param method - an instance of the Java.lang.reflect.Method class * corresponding to the method that the container is trying to determine * whether the caller has permission to access. This value must not be null. */ public EJBMethodPermission(String ejbName, String methodInterface, Method method) { this(ejbName, method.getName(), methodInterface, convertParameters(method.getParameterTypes())); }
/** Creates a new EJBMethodPermission with name corresponding to the EJBName * and actions composed from methodInterface, and the Method object. * * A container uses this constructor prior to checking if a caller has * permission to call the method of an EJB. * * @param ejbName - the ejb-name of the target EJB * @param methodInterface - A string that may be used to specify the EJB * interface to which the permission pertains. A value of null or "", * indicates that the permission pertains to all methods that match the other * parameters of the permission specification without consideration of the * interface they occur on. * @param method - an instance of the Java.lang.reflect.Method class * corresponding to the method that the container is trying to determine * whether the caller has permission to access. This value must not be null. */ public EJBMethodPermission(String ejbName, String methodInterface, Method method) { this(ejbName, method.getName(), methodInterface, convertParameters(method.getParameterTypes())); }
/** * <p> * Creates a new EJBMethodPermission with name corresponding to the EJBName and actions composed from * methodInterface, and the Method object. * </p> * * <p> * A container uses this constructor prior to checking if a caller has permission to call the method of an EJB. * </p> * * @param ejbName * - The string representation of the name of the EJB as it appears in the corresponding ejb-name element * in the deployment descriptor. * @param methodInterface * - A string that may be used to specify the EJB interface to which the permission pertains. A value of * null or "", indicates that the permission pertains to all methods that match the other parameters of the * permission specification without consideration of the interface they occur on. * @param method * - an instance of the Java.lang.reflect.Method class corresponding to the method that the container is * trying to determine whether the caller has permission to access. This value must not be null. */ public EJBMethodPermission(String ejbName, String methodInterface, Method method) { this(ejbName, method.getName(), methodInterface, convertParameters(method.getParameterTypes())); }
/** Creates a new EJBMethodPermission with name corresponding to the EJBName * and actions composed from methodInterface, and the Method object. * * A container uses this constructor prior to checking if a caller has * permission to call the method of an EJB. * * @param ejbName - the ejb-name of the target EJB * @param methodInterface - A string that may be used to specify the EJB * interface to which the permission pertains. A value of null or "", * indicates that the permission pertains to all methods that match the other * parameters of the permission specification without consideration of the * interface they occur on. * @param method - an instance of the Java.lang.reflect.Method class * corresponding to the method that the container is trying to determine * whether the caller has permission to access. This value must not be null. */ public EJBMethodPermission(String ejbName, String methodInterface, Method method) { this(ejbName, method.getName(), methodInterface, convertParameters(method.getParameterTypes())); }
/** Creates a new EJBMethodPermission with name corresponding to the EJBName * and actions composed from methodInterface, and the Method object. * * A container uses this constructor prior to checking if a caller has * permission to call the method of an EJB. * * @param ejbName - the ejb-name of the target EJB * @param methodInterface - A string that may be used to specify the EJB * interface to which the permission pertains. A value of null or "", * indicates that the permission pertains to all methods that match the other * parameters of the permission specification without consideration of the * interface they occur on. * @param method - an instance of the Java.lang.reflect.Method class * corresponding to the method that the container is trying to determine * whether the caller has permission to access. This value must not be null. */ public EJBMethodPermission(String ejbName, String methodInterface, Method method) { this(ejbName, method.getName(), methodInterface, convertParameters(method.getParameterTypes())); }
/** * <p> * Creates a new EJBMethodPermission with name corresponding to the EJBName and actions composed from * methodInterface, and the Method object. * </p> * * <p> * A container uses this constructor prior to checking if a caller has permission to call the method of an EJB. * </p> * * @param ejbName * - The string representation of the name of the EJB as it appears in the corresponding ejb-name element * in the deployment descriptor. * @param methodInterface * - A string that may be used to specify the EJB interface to which the permission pertains. A value of * null or "", indicates that the permission pertains to all methods that match the other parameters of the * permission specification without consideration of the interface they occur on. * @param method * - an instance of the Java.lang.reflect.Method class corresponding to the method that the container is * trying to determine whether the caller has permission to access. This value must not be null. */ public EJBMethodPermission(String ejbName, String methodInterface, Method method) { this(ejbName, method.getName(), methodInterface, convertParameters(method.getParameterTypes())); }
/** * <p> * Creates a new EJBMethodPermission with name corresponding to the EJBName and actions composed from * methodInterface, and the Method object. * </p> * * <p> * A container uses this constructor prior to checking if a caller has permission to call the method of an EJB. * </p> * * @param ejbName * - The string representation of the name of the EJB as it appears in the corresponding ejb-name element * in the deployment descriptor. * @param methodInterface * - A string that may be used to specify the EJB interface to which the permission pertains. A value of * null or "", indicates that the permission pertains to all methods that match the other parameters of the * permission specification without consideration of the interface they occur on. * @param method * - an instance of the Java.lang.reflect.Method class corresponding to the method that the container is * trying to determine whether the caller has permission to access. This value must not be null. */ public EJBMethodPermission(String ejbName, String methodInterface, Method method) { this(ejbName, method.getName(), methodInterface, convertParameters(method.getParameterTypes())); }