Restricted Method

Restricted method

Access to method annotated with @Restricted is disabled by default; to enabled access to restricted method, the Pcap property 'pcap.restricted' must be set to a value other then deny. The possible values for this property are:

  • deny: issues a runtime exception on each restricted call. This is the default value.

  • permit: allows restricted calls.

  • warn: like permit, but also prints a one-line warning on each restricted call.

Last updated