Package sonia.scm

Interface TypeManager<T extends ModelObject,H extends Handler<T>>

Type Parameters:
T - type of the model object
H - type of the handler
All Superinterfaces:
AutoCloseable, Closeable, HandlerBase<T>, Initable, LastModifiedAware, Manager<T>
All Known Subinterfaces:
RepositoryManager
All Known Implementing Classes:
AbstractRepositoryManager, RepositoryManagerDecorator

public interface TypeManager<T extends ModelObject,H extends Handler<T>> extends Manager<T>
Base interface for all type manager classes.
  • Method Details

    • getHandler

      H getHandler(String type)
      Returns the handler for given type or null if no handler of that type is available.
      Parameters:
      type - name of the handler
    • getTypes

      Collection<Type> getTypes()
      Returns a Collection of all available and configured types.