Class SimpleIdentifierFactoryService<I>

java.lang.Object
org.wildfly.clustering.server.service.SimpleService
org.wildfly.clustering.server.local.manager.SimpleIdentifierFactoryService<I>
Type Parameters:
I - the identifier type
All Implemented Interfaces:
Supplier<I>, org.wildfly.clustering.function.Supplier<I>, org.wildfly.clustering.server.manager.IdentifierFactoryService<I>, org.wildfly.clustering.server.service.Service

public class SimpleIdentifierFactoryService<I> extends org.wildfly.clustering.server.service.SimpleService implements org.wildfly.clustering.server.manager.IdentifierFactoryService<I>
Simple IdentifierFactoryService that delegates to a supplier.
Author:
Paul Ferraro
  • Field Summary

    Fields inherited from interface org.wildfly.clustering.function.Supplier

    NULL
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates an identifier factory service based on the specified factory.
  • Method Summary

    Modifier and Type
    Method
    Description
    get()
     

    Methods inherited from class org.wildfly.clustering.server.service.SimpleService

    isStarted, start, stop

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.wildfly.clustering.server.service.Service

    isStarted, start, stop

    Methods inherited from interface org.wildfly.clustering.function.Supplier

    handle, thenAccept, thenApply, thenApplyAsDouble, thenApplyAsInt, thenApplyAsLong, thenTest
  • Constructor Details

    • SimpleIdentifierFactoryService

      public SimpleIdentifierFactoryService(Supplier<I> factory)
      Creates an identifier factory service based on the specified factory.
      Parameters:
      factory - an identifier factory.
  • Method Details

    • get

      public I get()
      Specified by:
      get in interface Supplier<I>