Klasse DefaultMatchingContext

java.lang.Object
org.aspectj.weaver.tools.DefaultMatchingContext
Alle implementierten Schnittstellen:
MatchingContext

public class DefaultMatchingContext extends Object implements MatchingContext
Default implementation of MatchingContext, backed by a Map.
  • Konstruktordetails

    • DefaultMatchingContext

      public DefaultMatchingContext()
  • Methodendetails

    • hasContextBinding

      public boolean hasContextBinding(String contextParameterName)
      Beschreibung aus Schnittstelle kopiert: MatchingContext
      Returns true iff this matching context has a defined binding for the given context parameter.
      Angegeben von:
      hasContextBinding in Schnittstelle MatchingContext
      Parameter:
      contextParameterName -
    • getBinding

      public Object getBinding(String contextParameterName)
      Beschreibung aus Schnittstelle kopiert: MatchingContext
      returns the binding associated with the given context parameter name (or null if there is no such context).
      Angegeben von:
      getBinding in Schnittstelle MatchingContext
      Parameter:
      contextParameterName -
      Gibt zurück:
    • addContextBinding

      public void addContextBinding(String name, Object value)
      Add a context binding with the given name and value
      Parameter:
      name -
      value -
    • removeContextBinding

      public void removeContextBinding(String name)
      Remove the context binding with the given name
      Parameter:
      name -