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 Summary
Constructors Modifier Constructor Description protectedRealmEvent()Construct a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <P,R>
Raccept(RealmEventVisitor<P,R> visitor, P param)Accept the given visitor, calling the method which is most applicable to this event type.
-
-
-
Method Detail
-
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 typeR- the visitor return type- Parameters:
visitor- the visitorparam- the parameter to pass to the visitorhandleXxxmethod- Returns:
- the value returned from the visitor
handleXxxmethod
-
-