Interface IdentifiableProvider<V>

  • All Superinterfaces:
    javax.inject.Provider<V>
    All Known Implementing Classes:
    ClientProvider, IdentifiableProviderImpl

    public interface IdentifiableProvider<V>
    extends javax.inject.Provider<V>
    Interface for a class that is to create an identifier.

    Created by Jeff Gaynor
    on 11/4/13 at 12:56 PM

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      V get​(boolean createNewIdentifier)
      Create a new Identifiable object and create a new identifier if true.
      • Methods inherited from interface javax.inject.Provider

        get
    • Method Detail

      • get

        V get​(boolean createNewIdentifier)
        Create a new Identifiable object and create a new identifier if true. The no-arg call to Provider.get() should be the same as get(true).
        Parameters:
        createNewIdentifier -
        Returns: