java.lang.Comparable<org.osgi.framework.Bundle>, org.osgi.framework.Bundlepublic class DelegatingBundle
extends java.lang.Object
implements org.osgi.framework.Bundle
Bundle objects.| Constructor | Description |
|---|---|
DelegatingBundle(java.util.Collection<org.osgi.framework.Bundle> bundles) |
|
DelegatingBundle(org.osgi.framework.Bundle bundle) |
| Modifier and Type | Method | Description |
|---|---|---|
<A> A |
adapt(java.lang.Class<A> type) |
|
void |
addBundle(org.osgi.framework.Bundle b) |
|
int |
compareTo(org.osgi.framework.Bundle other) |
|
java.util.Enumeration |
findEntries(java.lang.String arg0,
java.lang.String arg1,
boolean arg2) |
|
org.osgi.framework.BundleContext |
getBundleContext() |
|
long |
getBundleId() |
|
java.io.File |
getDataFile(java.lang.String filename) |
|
java.net.URL |
getEntry(java.lang.String arg0) |
|
java.util.Enumeration |
getEntryPaths(java.lang.String arg0) |
|
java.util.Dictionary |
getHeaders() |
|
java.util.Dictionary |
getHeaders(java.lang.String arg0) |
|
long |
getLastModified() |
|
java.lang.String |
getLocation() |
|
org.osgi.framework.Bundle |
getMainBundle() |
|
org.osgi.framework.ServiceReference[] |
getRegisteredServices() |
|
java.net.URL |
getResource(java.lang.String name) |
|
java.util.Enumeration<java.net.URL> |
getResources(java.lang.String name) |
|
org.osgi.framework.ServiceReference[] |
getServicesInUse() |
|
java.util.Map |
getSignerCertificates(int arg0) |
|
int |
getState() |
|
java.lang.String |
getSymbolicName() |
|
org.osgi.framework.Version |
getVersion() |
|
boolean |
hasPermission(java.lang.Object arg0) |
|
java.lang.Class<?> |
loadClass(java.lang.String name) |
|
void |
removeBundle(org.osgi.framework.Bundle b) |
|
void |
start() |
|
void |
start(int arg0) |
|
void |
stop() |
|
void |
stop(int arg0) |
|
java.lang.String |
toString() |
|
void |
uninstall() |
|
void |
update() |
|
void |
update(java.io.InputStream arg0) |
public DelegatingBundle(java.util.Collection<org.osgi.framework.Bundle> bundles)
public DelegatingBundle(org.osgi.framework.Bundle bundle)
public org.osgi.framework.Bundle getMainBundle()
public java.lang.Class<?> loadClass(java.lang.String name)
throws java.lang.ClassNotFoundException
loadClass in interface org.osgi.framework.Bundlejava.lang.ClassNotFoundExceptionpublic void addBundle(org.osgi.framework.Bundle b)
public void removeBundle(org.osgi.framework.Bundle b)
public java.net.URL getResource(java.lang.String name)
getResource in interface org.osgi.framework.Bundlepublic java.util.Enumeration<java.net.URL> getResources(java.lang.String name)
throws java.io.IOException
getResources in interface org.osgi.framework.Bundlejava.io.IOExceptionpublic org.osgi.framework.BundleContext getBundleContext()
getBundleContext in interface org.osgi.framework.Bundlepublic java.util.Enumeration findEntries(java.lang.String arg0,
java.lang.String arg1,
boolean arg2)
findEntries in interface org.osgi.framework.Bundlepublic long getBundleId()
getBundleId in interface org.osgi.framework.Bundlepublic java.net.URL getEntry(java.lang.String arg0)
getEntry in interface org.osgi.framework.Bundlepublic java.util.Enumeration getEntryPaths(java.lang.String arg0)
getEntryPaths in interface org.osgi.framework.Bundlepublic java.util.Dictionary getHeaders()
getHeaders in interface org.osgi.framework.Bundlepublic java.util.Dictionary getHeaders(java.lang.String arg0)
getHeaders in interface org.osgi.framework.Bundlepublic long getLastModified()
getLastModified in interface org.osgi.framework.Bundlepublic java.lang.String getLocation()
getLocation in interface org.osgi.framework.Bundlepublic org.osgi.framework.ServiceReference[] getRegisteredServices()
getRegisteredServices in interface org.osgi.framework.Bundlepublic org.osgi.framework.ServiceReference[] getServicesInUse()
getServicesInUse in interface org.osgi.framework.Bundlepublic java.util.Map getSignerCertificates(int arg0)
getSignerCertificates in interface org.osgi.framework.Bundlepublic int getState()
getState in interface org.osgi.framework.Bundlepublic java.lang.String getSymbolicName()
getSymbolicName in interface org.osgi.framework.Bundlepublic org.osgi.framework.Version getVersion()
getVersion in interface org.osgi.framework.Bundlepublic boolean hasPermission(java.lang.Object arg0)
hasPermission in interface org.osgi.framework.Bundlepublic void start()
throws org.osgi.framework.BundleException
start in interface org.osgi.framework.Bundleorg.osgi.framework.BundleExceptionpublic void start(int arg0)
throws org.osgi.framework.BundleException
start in interface org.osgi.framework.Bundleorg.osgi.framework.BundleExceptionpublic void stop()
throws org.osgi.framework.BundleException
stop in interface org.osgi.framework.Bundleorg.osgi.framework.BundleExceptionpublic void stop(int arg0)
throws org.osgi.framework.BundleException
stop in interface org.osgi.framework.Bundleorg.osgi.framework.BundleExceptionpublic void uninstall()
throws org.osgi.framework.BundleException
uninstall in interface org.osgi.framework.Bundleorg.osgi.framework.BundleExceptionpublic void update()
throws org.osgi.framework.BundleException
update in interface org.osgi.framework.Bundleorg.osgi.framework.BundleExceptionpublic void update(java.io.InputStream arg0)
throws org.osgi.framework.BundleException
update in interface org.osgi.framework.Bundleorg.osgi.framework.BundleExceptionpublic int compareTo(org.osgi.framework.Bundle other)
compareTo in interface java.lang.Comparable<org.osgi.framework.Bundle>public <A> A adapt(java.lang.Class<A> type)
adapt in interface org.osgi.framework.Bundlepublic java.io.File getDataFile(java.lang.String filename)
getDataFile in interface org.osgi.framework.Bundlepublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2005–2018. All rights reserved.