public class Factory extends Object implements org.burningwave.core.Component
| Modifier and Type | Method and Description |
|---|---|
Functions |
build(Config config,
Object... beanContainers) |
void |
close() |
void |
close(Functions... functions) |
void |
close(Object... contextes) |
static Factory |
create(org.burningwave.core.assembler.ComponentSupplier componentSupplier) |
Context |
createContext() |
<T> T |
createContext(Class<?>... interfaces) |
static Factory |
getInstance() |
static Factory |
getOrCreateFrom(org.burningwave.core.assembler.ComponentSupplier componentSupplier) |
public static Factory create(org.burningwave.core.assembler.ComponentSupplier componentSupplier)
public static Factory getOrCreateFrom(org.burningwave.core.assembler.ComponentSupplier componentSupplier)
public static Factory getInstance()
public Context createContext()
public <T> T createContext(Class<?>... interfaces)
public Functions build(Config config, Object... beanContainers) throws Throwable
Throwablepublic void close(Functions... functions)
public void close(Object... contextes)
public void close()
close in interface AutoCloseableclose in interface org.burningwave.core.ComponentCopyright © 2019. All rights reserved.