public class AbstractInvocationContext extends Object implements InvocationContext
| Constructor and Description |
|---|
AbstractInvocationContext(org.osgi.framework.BundleContext systemContext,
org.osgi.framework.Bundle bundle,
org.jboss.osgi.vfs.VirtualFile root,
org.jboss.osgi.spi.Attachable attachments) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
getAttachment(org.jboss.osgi.spi.AttachmentKey<T> type) |
org.osgi.framework.Bundle |
getBundle()
Get the bundle
|
org.jboss.osgi.vfs.VirtualFile |
getRoot()
Get the root virtual file
|
org.osgi.framework.BundleContext |
getSystemContext()
Get the system bundle context
|
<T> T |
putAttachment(org.jboss.osgi.spi.AttachmentKey<T> key,
T value) |
<T> T |
removeAttachment(org.jboss.osgi.spi.AttachmentKey<T> clazz) |
public AbstractInvocationContext(org.osgi.framework.BundleContext systemContext,
org.osgi.framework.Bundle bundle,
org.jboss.osgi.vfs.VirtualFile root,
org.jboss.osgi.spi.Attachable attachments)
public org.osgi.framework.BundleContext getSystemContext()
InvocationContextgetSystemContext in interface InvocationContextpublic org.osgi.framework.Bundle getBundle()
InvocationContextgetBundle in interface InvocationContextpublic org.jboss.osgi.vfs.VirtualFile getRoot()
InvocationContextgetRoot in interface InvocationContextpublic <T> T putAttachment(org.jboss.osgi.spi.AttachmentKey<T> key,
T value)
putAttachment in interface org.jboss.osgi.spi.Attachablepublic <T> T getAttachment(org.jboss.osgi.spi.AttachmentKey<T> type)
getAttachment in interface org.jboss.osgi.spi.Attachablepublic <T> T removeAttachment(org.jboss.osgi.spi.AttachmentKey<T> clazz)
removeAttachment in interface org.jboss.osgi.spi.AttachableCopyright © 2016 JBoss by Red Hat. All rights reserved.