Class RegistrationPoint

java.lang.Object
org.jboss.as.controller.capability.registry.RegistrationPoint

public class RegistrationPoint extends Object
Encapsulates the point in the model that triggered the registration of a capability or requirement.
Author:
Brian Stansberry (c) 2014 Red Hat Inc.
  • Constructor Details

    • RegistrationPoint

      public RegistrationPoint(PathAddress address, String attribute)
  • Method Details

    • getAddress

      public PathAddress getAddress()
      Gets the address of the resource that triggered the registration.
      Returns:
      the address. Will not be null
    • getAttribute

      public String getAttribute()
      Gets the name of the specific attribute at address that triggered the registration, if the was a single attribute responsible.
      Returns:
      the name of the attribute, or null if there wasn't a single attribute responsible
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object