Record Class ManagedInboxPolicy.Registration

java.lang.Object
java.lang.Record
org.j7m.middleware.application.distributed.ManagedInboxPolicy.Registration
Record Components:
namespace - stable logical inbox namespace
tenant - authorized source tenant
jdbcPolicy - exact A11 profile name
jdbcRegistration - exact borrowed registration instance installed in the JDBC policy
telemetry - borrowed optional tracing integration
Enclosing class:
ManagedInboxPolicy

public static record ManagedInboxPolicy.Registration(String namespace, String tenant, String jdbcPolicy, ManagedJdbcTransactionPolicy.Registration jdbcRegistration, org.j7m.middleware.integrations.Observability telemetry) extends Record
Trusted SQL namespace and exact participating JDBC capability.
  • Constructor Details

  • Method Details

    • toString

      public String toString()
      Omits factory and tenant diagnostics.
      Specified by:
      toString in class Record
      Returns:
      safe fixed registration identity
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • namespace

      public String namespace()
      Returns the value of the namespace record component.
      Returns:
      the value of the namespace record component
    • tenant

      public String tenant()
      Returns the value of the tenant record component.
      Returns:
      the value of the tenant record component
    • jdbcPolicy

      public String jdbcPolicy()
      Returns the value of the jdbcPolicy record component.
      Returns:
      the value of the jdbcPolicy record component
    • jdbcRegistration

      public ManagedJdbcTransactionPolicy.Registration jdbcRegistration()
      Returns the value of the jdbcRegistration record component.
      Returns:
      the value of the jdbcRegistration record component
    • telemetry

      public org.j7m.middleware.integrations.Observability telemetry()
      Returns the value of the telemetry record component.
      Returns:
      the value of the telemetry record component