public class ComponentContext
extends java.lang.Object
implements java.lang.AutoCloseable
| Modifier and Type | Method and Description |
|---|---|
java.nio.channels.FileChannel |
channel(Descriptor descriptor,
Component component,
long size) |
void |
close() |
static ComponentContext |
create(Descriptor descriptor) |
ComponentManifest |
manifest() |
public static ComponentContext create(Descriptor descriptor)
public ComponentManifest manifest()
public java.nio.channels.FileChannel channel(Descriptor descriptor, Component component, long size) throws java.io.IOException
java.io.IOExceptionpublic void close()
close in interface java.lang.AutoCloseableCopyright © 2009-2020 The Apache Software Foundation