APIdia Launch Partner
Top Description Inners Constructors Methods
sun.security.util

public final Class Event

extends Object
Class Inheritance

This class implements an event model with services for reporter and listener. Reporter uses report() method to generate an event. Listener uses setReportListener() to register for listening to an event, and uses clearReportListener() to unregister a listening session. Listener should implement the event handling of the Reporter interface.

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static interface
public static enum

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static void
public static void
public static void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

Eventback to summary
private Event()

Method Detail

clearReportListenerback to summary
public static void clearReportListener(Event.ReporterCategory cat)
reportback to summary
public static void report(Event.ReporterCategory cat, String type, Object... args)
setReportListenerback to summary
public static void setReportListener(Event.ReporterCategory cat, Event.Reporter re)
sun.security.util back to summary

public Interface Event.Reporter


Method Summary

Modifier and TypeMethod and Description
public void
handle(String type, Object... args)

Method Detail

handleback to summary
public void handle(String type, Object... args)
sun.security.util back to summary

public final Enum Event.ReporterCategory

extends Enum<Event.ReporterCategory>
Class Inheritance

Field Summary

Modifier and TypeField and Description
public static final Event.ReporterCategory
private Event.Reporter
public static final Event.ReporterCategory

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static Event.ReporterCategory
public static Event.ReporterCategory[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

CRLCHECKback to summary
public static final Event.ReporterCategory CRLCHECK
reporterback to summary
private Event.Reporter reporter
ZIPFILEATTRSback to summary
public static final Event.ReporterCategory ZIPFILEATTRS

Constructor Detail

ReporterCategoryback to summary
private ReporterCategory()

Method Detail

valueOfback to summary
public static Event.ReporterCategory valueOf(String name)
valuesback to summary
public static Event.ReporterCategory[] values()