Class Factory

java.lang.Object
org.burningwave.graph.Factory
All Implemented Interfaces:
AutoCloseable, org.burningwave.core.Cleanable, org.burningwave.core.Closeable, org.burningwave.core.Component, org.burningwave.core.Identifiable, org.burningwave.core.iterable.Properties.Listener, org.burningwave.core.Memorizer

public class Factory extends Object implements org.burningwave.core.Component
  • Method Summary

    Modifier and Type
    Method
    Description
    build(Config config, Object... beanContainers)
     
    void
     
    void
    close(Object... contextes)
     
    void
    close(Functions... functions)
     
    static Factory
    create(org.burningwave.core.assembler.ComponentSupplier componentSupplier)
     
     
    <T> T
    createContext(Class<?>... interfaces)
     
    static Factory
     
    static Factory
    getOrCreateFrom(org.burningwave.core.assembler.ComponentSupplier componentSupplier)
     

    Methods inherited from class java.lang.Object

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

    Methods inherited from interface org.burningwave.core.Cleanable

    clear, clearInBackground

    Methods inherited from interface org.burningwave.core.Closeable

    closeResources, closeResources, createCloseResoucesTask, createCloseResoucesTask

    Methods inherited from interface org.burningwave.core.Identifiable

    getId, getOperationId

    Methods inherited from interface org.burningwave.core.Memorizer

    getOrCreateTemporaryFolder, getOrCreateTemporaryFolder, getTemporaryFolderPrefix

    Methods inherited from interface org.burningwave.core.iterable.Properties.Listener

    checkAndListenTo, checkAndUnregister, listenTo, processChangeNotification, unregister
  • Method Details

    • create

      public static Factory create(org.burningwave.core.assembler.ComponentSupplier componentSupplier)
    • getOrCreateFrom

      public static Factory getOrCreateFrom(org.burningwave.core.assembler.ComponentSupplier componentSupplier)
    • getInstance

      public static Factory getInstance()
    • createContext

      public Context createContext()
    • createContext

      public <T> T createContext(Class<?>... interfaces)
    • build

      public Functions build(Config config, Object... beanContainers) throws Throwable
      Throws:
      Throwable
    • close

      public void close(Functions... functions)
    • close

      public void close(Object... contextes)
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface org.burningwave.core.Closeable