| Package | Description |
|---|---|
| org.jboss.osgi.deployment.deployer | |
| org.jboss.osgi.deployment.interceptor | |
| org.jboss.osgi.framework | |
| org.jboss.osgi.framework.spi | |
| org.jboss.osgi.spi |
Common classes and interfaces.
|
| org.jboss.osgi.testing |
Test support classes and interfaces.
|
| org.jboss.osgi.vfs |
An abstraction of the JBoss VFS functionality.
|
| Modifier and Type | Method and Description |
|---|---|
VirtualFile |
Deployment.getRoot()
Get the root virtual file
|
VirtualFile |
NullFileDeployment.getRoot() |
VirtualFile |
VirtualFileDeployment.getRoot() |
| Modifier and Type | Method and Description |
|---|---|
static Deployment |
DeploymentFactory.createDeployment(VirtualFile rootFile,
String location,
String symbolicName,
org.osgi.framework.Version version)
Create a deploymenmt that is based on a
VirtualFile |
| Constructor and Description |
|---|
VirtualFileDeployment(VirtualFile rootFile,
String location,
String symbolicName,
org.osgi.framework.Version version) |
| Modifier and Type | Method and Description |
|---|---|
VirtualFile |
AbstractInvocationContext.getRoot() |
VirtualFile |
InvocationContext.getRoot()
Get the root virtual file
|
| Constructor and Description |
|---|
AbstractInvocationContext(org.osgi.framework.BundleContext systemContext,
org.osgi.framework.Bundle bundle,
VirtualFile root,
Attachable attachments) |
| Modifier and Type | Method and Description |
|---|---|
org.osgi.framework.BundleException |
FrameworkMessages.cannotSetupStorage(Throwable cause,
VirtualFile virtualFile) |
org.osgi.framework.BundleException |
FrameworkMessages_$bundle.cannotSetupStorage(Throwable cause,
VirtualFile virtualFile) |
IllegalArgumentException |
FrameworkMessages.illegalArgumentCannotObtainPaths(Throwable cause,
VirtualFile virtualFile) |
IllegalArgumentException |
FrameworkMessages_$bundle.illegalArgumentCannotObtainPaths(Throwable cause,
VirtualFile virtualFile) |
IllegalStateException |
FrameworkMessages.illegalStateCannotObtainURL(VirtualFile child) |
IllegalStateException |
FrameworkMessages_$bundle.illegalStateCannotObtainURL(VirtualFile child) |
void |
FrameworkLogger.warnCannotProcessMetadataProperties(Throwable cause,
VirtualFile rootFile) |
void |
FrameworkLogger_$logger.warnCannotProcessMetadataProperties(Throwable cause,
VirtualFile rootFile) |
| Modifier and Type | Method and Description |
|---|---|
VirtualFile |
StorageState.getRootFile() |
| Modifier and Type | Method and Description |
|---|---|
Deployment |
DeploymentProvider.createDeployment(String location,
VirtualFile rootFile) |
static StorageState |
StorageState.createStorageState(File storageDir,
VirtualFile rootFile,
Properties props) |
StorageState |
StorageManager.createStorageState(long bundleId,
String location,
Integer initialStartlevel,
VirtualFile rootFile) |
| Constructor and Description |
|---|
StorageState(File storageDir,
VirtualFile rootFile,
Properties props) |
VirtualFileResourceLoader(VirtualFile virtualFile) |
| Modifier and Type | Method and Description |
|---|---|
VirtualFile |
BundleInfo.getRoot()
Get the bundle root file
|
| Modifier and Type | Method and Description |
|---|---|
static BundleInfo |
BundleInfo.createBundleInfo(VirtualFile root) |
static BundleInfo |
BundleInfo.createBundleInfo(VirtualFile root,
String location) |
static BundleInfo |
BundleInfo.createBundleInfo(VirtualFile root,
String location,
OSGiMetaData metadata) |
IllegalArgumentException |
SPIMessages.illegalArgumentInvalidRootFile(Throwable cause,
VirtualFile file) |
IllegalArgumentException |
SPIMessages_$bundle.illegalArgumentInvalidRootFile(Throwable cause,
VirtualFile file) |
static boolean |
BundleInfo.isValidBundle(VirtualFile virtualFile)
Validate manifest from the given virtual file.
|
| Modifier and Type | Method and Description |
|---|---|
protected VirtualFile |
OSGiTest.toVirtualFile(org.jboss.shrinkwrap.api.Archive<?> archive)
Delegates to
OSGiTestHelper.toVirtualFile(Archive) |
static VirtualFile |
OSGiTestHelper.toVirtualFile(org.jboss.shrinkwrap.api.Archive<?> archive) |
| Modifier and Type | Method and Description |
|---|---|
protected org.osgi.framework.Bundle |
OSGiFrameworkTest.installBundle(VirtualFile virtualFile) |
| Modifier and Type | Method and Description |
|---|---|
static VirtualFile |
AbstractVFS.adapt(Object virtualFile) |
VirtualFile |
VFSAdaptor.adapt(Object virtualFile)
Adapt a concrete instance of a jboss-vfs VirtualFile.
|
VirtualFile |
VirtualFile.getChild(String path)
Get a child
|
VirtualFile |
VirtualFile.getParent()
Get the parent
|
static VirtualFile |
AbstractVFS.toVirtualFile(InputStream input) |
VirtualFile |
VFSAdaptor.toVirtualFile(InputStream input)
Adapt an InputStream to a virtual file.
|
static VirtualFile |
AbstractVFS.toVirtualFile(String name,
InputStream input) |
VirtualFile |
VFSAdaptor.toVirtualFile(String name,
InputStream input)
Adapt an named InputStream to a virtual file.
|
static VirtualFile |
AbstractVFS.toVirtualFile(URI uri) |
VirtualFile |
VFSAdaptor.toVirtualFile(URI uri)
Get the root virtual file
|
static VirtualFile |
AbstractVFS.toVirtualFile(URL url) |
VirtualFile |
VFSAdaptor.toVirtualFile(URL url)
Get the root virtual file
|
| Modifier and Type | Method and Description |
|---|---|
List<VirtualFile> |
VirtualFile.getChildren()
Get the children
|
List<VirtualFile> |
VirtualFile.getChildrenRecursively()
Get all children recursively
|
| Modifier and Type | Method and Description |
|---|---|
static Object |
AbstractVFS.adapt(VirtualFile virtualFile) |
Object |
VFSAdaptor.adapt(VirtualFile virtualFile)
Adapt a VirtualFile to a concrete instance of a jboss-vfs VirtualFile.
|
static Manifest |
VFSUtils.getManifest(VirtualFile archive) |
Copyright © 2016 JBoss by Red Hat. All rights reserved.