Interface AFNamingProvider<T extends AFNaming>

Type Parameters:
T - The actual AFNaming subclass.

public interface AFNamingProvider<T extends AFNaming>
The key to accessing to AFNaming instances. Implementors must guarantee that hashCode() and equals(Object) correctly identify duplicate providers.
Author:
Christian Kohlschütter
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    equals(Object other)
     
    int
     
    newInstance(int registryPort)
    Creates a new AFNaming instance using the given registry port.
  • Method Details

    • newInstance

      T newInstance(int registryPort) throws IOException
      Creates a new AFNaming instance using the given registry port.
      Parameters:
      registryPort - The registry port.
      Returns:
      The AFNaming instance.
      Throws:
      IOException - on error.
    • hashCode

      int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      boolean equals(Object other)
      Overrides:
      equals in class Object