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