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>, Supplier<I>, IdentifierFactoryService<I>, Service

public class SimpleIdentifierFactoryService<I> extends SimpleService implements IdentifierFactoryService<I>
Simple IdentifierFactoryService that delegates to a supplier.
Author:
Paul Ferraro
  • 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>