Class RealmEvent

java.lang.Object
org.wildfly.security.auth.server.event.RealmEvent
Direct Known Subclasses:
RealmAuthenticationEvent, RealmAuthorizationEvent

public abstract class RealmEvent extends Object
An event which is potentially relevant to a realm.
Author:
David M. Lloyd
  • Constructor Details

    • RealmEvent

      protected RealmEvent()
      Construct a new instance.
  • Method Details

    • accept

      public <P, R> R accept(RealmEventVisitor<P,R> visitor, P param)
      Accept the given visitor, calling the method which is most applicable to this event type.
      Type Parameters:
      P - the visitor parameter type
      R - the visitor return type
      Parameters:
      visitor - the visitor
      param - the parameter to pass to the visitor handleXxx method
      Returns:
      the value returned from the visitor handleXxx method