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
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoiddontIgnore(IMessage.Kind kind) Allow fine grained configuration after initialization.booleanhandleMessage(IMessage message) Handle message, by reporting and/or throwing an AbortException.voidignore(IMessage.Kind kind) Allow fine grained configuration after initialization.booleanisIgnoring(IMessage.Kind kind) Signal clients whether this will ignore messages of a given type.
-
Konstruktordetails
-
DefaultMessageHandler
public DefaultMessageHandler()
-
-
Methodendetails
-
handleMessage
Beschreibung aus Schnittstelle kopiert:IMessageHandlerHandle message, by reporting and/or throwing an AbortException.- Angegeben von:
handleMessagein 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:IMessageHandlerSignal clients whether this will ignore messages of a given type. Clients may use this to avoid constructing or sending certain messages.- Angegeben von:
isIgnoringin SchnittstelleIMessageHandler- Gibt zurück:
- true if this handler is ignoring all messages of this type
-
dontIgnore
Beschreibung aus Schnittstelle kopiert:IMessageHandlerAllow fine grained configuration after initialization. Minaly used in LTW. Most of the implementation can have this method be a no-op.- Angegeben von:
dontIgnorein SchnittstelleIMessageHandler
-
ignore
Beschreibung aus Schnittstelle kopiert:IMessageHandlerAllow fine grained configuration after initialization.- Angegeben von:
ignorein SchnittstelleIMessageHandler
-