public interface

IPriorityBasedHooks

com.pnfsoftware.jeb.core.units.IPriorityBasedHooks
Known Indirect Subclasses

Class Overview

An super interface to be used for hooks interfaces for which the associated manager respects a priority ordering.

Summary

Public Methods
abstract int getPriority()
Provide the priority level for this hook.

Public Methods

public abstract int getPriority ()

Provide the priority level for this hook. Hooks with higher priority should be called first by the hooks manager. Monitoring hooks (i.e. read-only hooks that always want to examine the context) should have a high-priority level to ensure they are not bypassed by another successful hook.

Returns
  • the priority level in [-100, 100]; the default level is 0