java.lang.Comparable<org.osgi.framework.Bundle>
, org.osgi.framework.Bundle
public 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.Bundle
java.lang.ClassNotFoundException
public 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.Bundle
public java.util.Enumeration<java.net.URL> getResources(java.lang.String name) throws java.io.IOException
getResources
in interface org.osgi.framework.Bundle
java.io.IOException
public org.osgi.framework.BundleContext getBundleContext()
getBundleContext
in interface org.osgi.framework.Bundle
public java.util.Enumeration findEntries(java.lang.String arg0, java.lang.String arg1, boolean arg2)
findEntries
in interface org.osgi.framework.Bundle
public long getBundleId()
getBundleId
in interface org.osgi.framework.Bundle
public java.net.URL getEntry(java.lang.String arg0)
getEntry
in interface org.osgi.framework.Bundle
public java.util.Enumeration getEntryPaths(java.lang.String arg0)
getEntryPaths
in interface org.osgi.framework.Bundle
public java.util.Dictionary getHeaders()
getHeaders
in interface org.osgi.framework.Bundle
public java.util.Dictionary getHeaders(java.lang.String arg0)
getHeaders
in interface org.osgi.framework.Bundle
public long getLastModified()
getLastModified
in interface org.osgi.framework.Bundle
public java.lang.String getLocation()
getLocation
in interface org.osgi.framework.Bundle
public org.osgi.framework.ServiceReference[] getRegisteredServices()
getRegisteredServices
in interface org.osgi.framework.Bundle
public org.osgi.framework.ServiceReference[] getServicesInUse()
getServicesInUse
in interface org.osgi.framework.Bundle
public java.util.Map getSignerCertificates(int arg0)
getSignerCertificates
in interface org.osgi.framework.Bundle
public int getState()
getState
in interface org.osgi.framework.Bundle
public java.lang.String getSymbolicName()
getSymbolicName
in interface org.osgi.framework.Bundle
public org.osgi.framework.Version getVersion()
getVersion
in interface org.osgi.framework.Bundle
public boolean hasPermission(java.lang.Object arg0)
hasPermission
in interface org.osgi.framework.Bundle
public void start() throws org.osgi.framework.BundleException
start
in interface org.osgi.framework.Bundle
org.osgi.framework.BundleException
public void start(int arg0) throws org.osgi.framework.BundleException
start
in interface org.osgi.framework.Bundle
org.osgi.framework.BundleException
public void stop() throws org.osgi.framework.BundleException
stop
in interface org.osgi.framework.Bundle
org.osgi.framework.BundleException
public void stop(int arg0) throws org.osgi.framework.BundleException
stop
in interface org.osgi.framework.Bundle
org.osgi.framework.BundleException
public void uninstall() throws org.osgi.framework.BundleException
uninstall
in interface org.osgi.framework.Bundle
org.osgi.framework.BundleException
public void update() throws org.osgi.framework.BundleException
update
in interface org.osgi.framework.Bundle
org.osgi.framework.BundleException
public void update(java.io.InputStream arg0) throws org.osgi.framework.BundleException
update
in interface org.osgi.framework.Bundle
org.osgi.framework.BundleException
public 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.Bundle
public java.io.File getDataFile(java.lang.String filename)
getDataFile
in interface org.osgi.framework.Bundle
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2005–2018. All rights reserved.