Package org.aspectj.weaver.loadtime
Klasse DefaultMessageHandler
java.lang.Object
org.aspectj.weaver.loadtime.DefaultMessageHandler
- Alle implementierten Schnittstellen:
IMessageHandler
- Autor:
- Alexandre Vasseur (alex AT gnilux DOT com)
-
Feldübersicht
Von Schnittstelle geerbte Felder org.aspectj.bridge.IMessageHandler
SYSTEM_ERR, SYSTEM_OUT, THROW
-
Konstruktorübersicht
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
dontIgnore
(IMessage.Kind kind) Allow fine grained configuration after initialization.boolean
handleMessage
(IMessage message) Handle message, by reporting and/or throwing an AbortException.void
ignore
(IMessage.Kind kind) Allow fine grained configuration after initialization.boolean
isIgnoring
(IMessage.Kind kind) Signal clients whether this will ignore messages of a given type.
-
Konstruktordetails
-
DefaultMessageHandler
public DefaultMessageHandler()
-
-
Methodendetails
-
handleMessage
Beschreibung aus Schnittstelle kopiert:IMessageHandler
Handle message, by reporting and/or throwing an AbortException.- Angegeben von:
handleMessage
in SchnittstelleIMessageHandler
- Parameter:
message
- the IMessage to handle - never null- Gibt zurück:
- true if this message was handled by this handler
- Löst aus:
AbortException
- depending on handler logic.
-
isIgnoring
Beschreibung aus Schnittstelle kopiert:IMessageHandler
Signal clients whether this will ignore messages of a given type. Clients may use this to avoid constructing or sending certain messages.- Angegeben von:
isIgnoring
in SchnittstelleIMessageHandler
- Gibt zurück:
- true if this handler is ignoring all messages of this type
-
dontIgnore
Beschreibung aus Schnittstelle kopiert:IMessageHandler
Allow fine grained configuration after initialization. Minaly used in LTW. Most of the implementation can have this method be a no-op.- Angegeben von:
dontIgnore
in SchnittstelleIMessageHandler
-
ignore
Beschreibung aus Schnittstelle kopiert:IMessageHandler
Allow fine grained configuration after initialization.- Angegeben von:
ignore
in SchnittstelleIMessageHandler
-