ACTIVE, INSTALLED, RESOLVED, SIGNERS_ALL, SIGNERS_TRUSTED, START_ACTIVATION_POLICY, START_TRANSIENT, STARTING, STOP_TRANSIENT, STOPPING, UNINSTALLED| Constructor and Description |
|---|
Equinox(java.util.Map<java.lang.String,?> configuration) |
| Modifier and Type | Method and Description |
|---|---|
<A> A |
adapt(java.lang.Class<A> type) |
int |
compareTo(Bundle o) |
java.util.Enumeration<java.net.URL> |
findEntries(java.lang.String path,
java.lang.String filePattern,
boolean recurse) |
BundleContext |
getBundleContext() |
long |
getBundleId() |
java.io.File |
getDataFile(java.lang.String filename) |
java.net.URL |
getEntry(java.lang.String path) |
java.util.Enumeration<java.lang.String> |
getEntryPaths(java.lang.String path) |
java.util.Dictionary<java.lang.String,java.lang.String> |
getHeaders() |
java.util.Dictionary<java.lang.String,java.lang.String> |
getHeaders(java.lang.String locale) |
long |
getLastModified() |
java.lang.String |
getLocation() |
ServiceReference<?>[] |
getRegisteredServices() |
java.net.URL |
getResource(java.lang.String name) |
java.util.Enumeration<java.net.URL> |
getResources(java.lang.String name) |
ServiceReference<?>[] |
getServicesInUse() |
java.util.Map<java.security.cert.X509Certificate,java.util.List<java.security.cert.X509Certificate>> |
getSignerCertificates(int signersType) |
int |
getState() |
java.lang.String |
getSymbolicName() |
Version |
getVersion() |
boolean |
hasPermission(java.lang.Object permission) |
void |
init() |
void |
init(FrameworkListener... listeners) |
java.lang.Class<?> |
loadClass(java.lang.String name) |
void |
start() |
void |
start(int options) |
void |
stop() |
void |
stop(int options) |
void |
uninstall() |
void |
update() |
void |
update(java.io.InputStream input) |
FrameworkEvent |
waitForStop(long timeout) |
public java.util.Dictionary<java.lang.String,java.lang.String> getHeaders()
getHeaders in interface Bundlepublic ServiceReference<?>[] getRegisteredServices()
getRegisteredServices in interface Bundlepublic ServiceReference<?>[] getServicesInUse()
getServicesInUse in interface Bundlepublic boolean hasPermission(java.lang.Object permission)
hasPermission in interface Bundlepublic java.net.URL getResource(java.lang.String name)
getResource in interface Bundlepublic java.util.Dictionary<java.lang.String,java.lang.String> getHeaders(java.lang.String locale)
getHeaders in interface Bundlepublic java.lang.Class<?> loadClass(java.lang.String name)
throws java.lang.ClassNotFoundException
public java.util.Enumeration<java.net.URL> getResources(java.lang.String name)
throws java.io.IOException
getResources in interface Bundlejava.io.IOExceptionpublic long getLastModified()
getLastModified in interface BundlegetLastModified in interface Frameworkpublic BundleContext getBundleContext()
getBundleContext in interface Bundlepublic java.util.Map<java.security.cert.X509Certificate,java.util.List<java.security.cert.X509Certificate>> getSignerCertificates(int signersType)
getSignerCertificates in interface Bundlepublic Version getVersion()
getVersion in interface Bundlepublic java.io.File getDataFile(java.lang.String filename)
getDataFile in interface Bundlepublic int compareTo(Bundle o)
compareTo in interface java.lang.Comparable<Bundle>public void start(int options)
throws BundleException
start in interface Bundlestart in interface FrameworkBundleExceptionpublic void start()
throws BundleException
start in interface Bundlestart in interface FrameworkBundleExceptionpublic void stop(int options)
throws BundleException
stop in interface Bundlestop in interface FrameworkBundleExceptionpublic void stop()
throws BundleException
stop in interface Bundlestop in interface FrameworkBundleExceptionpublic void update(java.io.InputStream input)
throws BundleException
update in interface Bundleupdate in interface FrameworkBundleExceptionpublic void update()
throws BundleException
update in interface Bundleupdate in interface FrameworkBundleExceptionpublic void uninstall()
throws BundleException
uninstall in interface Bundleuninstall in interface FrameworkBundleExceptionpublic long getBundleId()
getBundleId in interface BundlegetBundleId in interface Frameworkpublic java.lang.String getLocation()
getLocation in interface BundlegetLocation in interface Frameworkpublic java.lang.String getSymbolicName()
getSymbolicName in interface BundlegetSymbolicName in interface Frameworkpublic java.util.Enumeration<java.lang.String> getEntryPaths(java.lang.String path)
getEntryPaths in interface BundlegetEntryPaths in interface Frameworkpublic java.net.URL getEntry(java.lang.String path)
public java.util.Enumeration<java.net.URL> findEntries(java.lang.String path,
java.lang.String filePattern,
boolean recurse)
findEntries in interface BundlefindEntries in interface Frameworkpublic <A> A adapt(java.lang.Class<A> type)
public void init()
throws BundleException
init in interface FrameworkBundleExceptionpublic void init(FrameworkListener... listeners) throws BundleException
init in interface FrameworkBundleExceptionpublic FrameworkEvent waitForStop(long timeout) throws java.lang.InterruptedException
waitForStop in interface Frameworkjava.lang.InterruptedException
Copyright (c) 2000, 2018 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.