Package org.eclipse.osgi.launch
Class Equinox
- java.lang.Object
-
- org.eclipse.osgi.launch.Equinox
-
-
Field Summary
-
Fields inherited from interface org.osgi.framework.Bundle
ACTIVE, INSTALLED, RESOLVED, SIGNERS_ALL, SIGNERS_TRUSTED, START_ACTIVATION_POLICY, START_TRANSIENT, STARTING, STOP_TRANSIENT, STOPPING, UNINSTALLED
-
-
Method Summary
-
-
-
Constructor Detail
-
Equinox
public Equinox(Map<String,?> configuration, ModuleConnector moduleConnector)
- Since:
- 3.16
-
-
Method Detail
-
getHeaders
public Dictionary<String,String> getHeaders()
- Specified by:
getHeaders
in interfaceBundle
-
getRegisteredServices
public ServiceReference<?>[] getRegisteredServices()
- Specified by:
getRegisteredServices
in interfaceBundle
-
getServicesInUse
public ServiceReference<?>[] getServicesInUse()
- Specified by:
getServicesInUse
in interfaceBundle
-
hasPermission
public boolean hasPermission(Object permission)
- Specified by:
hasPermission
in interfaceBundle
-
getResource
public URL getResource(String name)
- Specified by:
getResource
in interfaceBundle
-
getHeaders
public Dictionary<String,String> getHeaders(String locale)
- Specified by:
getHeaders
in interfaceBundle
-
loadClass
public Class<?> loadClass(String name) throws ClassNotFoundException
- Specified by:
loadClass
in interfaceBundle
- Throws:
ClassNotFoundException
-
getResources
public Enumeration<URL> getResources(String name) throws IOException
- Specified by:
getResources
in interfaceBundle
- Throws:
IOException
-
getLastModified
public long getLastModified()
- Specified by:
getLastModified
in interfaceBundle
- Specified by:
getLastModified
in interfaceFramework
-
getBundleContext
public BundleContext getBundleContext()
- Specified by:
getBundleContext
in interfaceBundle
-
getSignerCertificates
public Map<X509Certificate,List<X509Certificate>> getSignerCertificates(int signersType)
- Specified by:
getSignerCertificates
in interfaceBundle
-
getVersion
public Version getVersion()
- Specified by:
getVersion
in interfaceBundle
-
getDataFile
public File getDataFile(String filename)
- Specified by:
getDataFile
in interfaceBundle
-
compareTo
public int compareTo(Bundle o)
- Specified by:
compareTo
in interfaceComparable<Bundle>
-
start
public void start(int options) throws BundleException
- Specified by:
start
in interfaceBundle
- Specified by:
start
in interfaceFramework
- Throws:
BundleException
-
start
public void start() throws BundleException
- Specified by:
start
in interfaceBundle
- Specified by:
start
in interfaceFramework
- Throws:
BundleException
-
stop
public void stop(int options) throws BundleException
- Specified by:
stop
in interfaceBundle
- Specified by:
stop
in interfaceFramework
- Throws:
BundleException
-
stop
public void stop() throws BundleException
- Specified by:
stop
in interfaceBundle
- Specified by:
stop
in interfaceFramework
- Throws:
BundleException
-
update
public void update(InputStream input) throws BundleException
- Specified by:
update
in interfaceBundle
- Specified by:
update
in interfaceFramework
- Throws:
BundleException
-
update
public void update() throws BundleException
- Specified by:
update
in interfaceBundle
- Specified by:
update
in interfaceFramework
- Throws:
BundleException
-
uninstall
public void uninstall() throws BundleException
- Specified by:
uninstall
in interfaceBundle
- Specified by:
uninstall
in interfaceFramework
- Throws:
BundleException
-
getBundleId
public long getBundleId()
- Specified by:
getBundleId
in interfaceBundle
- Specified by:
getBundleId
in interfaceFramework
-
getLocation
public String getLocation()
- Specified by:
getLocation
in interfaceBundle
- Specified by:
getLocation
in interfaceFramework
-
getSymbolicName
public String getSymbolicName()
- Specified by:
getSymbolicName
in interfaceBundle
- Specified by:
getSymbolicName
in interfaceFramework
-
getEntryPaths
public Enumeration<String> getEntryPaths(String path)
- Specified by:
getEntryPaths
in interfaceBundle
- Specified by:
getEntryPaths
in interfaceFramework
-
findEntries
public Enumeration<URL> findEntries(String path, String filePattern, boolean recurse)
- Specified by:
findEntries
in interfaceBundle
- Specified by:
findEntries
in interfaceFramework
-
adapt
public <A> A adapt(Class<A> type)
-
init
public void init() throws BundleException
- Specified by:
init
in interfaceFramework
- Throws:
BundleException
-
init
public void init(FrameworkListener... listeners) throws BundleException
- Specified by:
init
in interfaceFramework
- Throws:
BundleException
- Since:
- 3.10
-
waitForStop
public FrameworkEvent waitForStop(long timeout) throws InterruptedException
- Specified by:
waitForStop
in interfaceFramework
- Throws:
InterruptedException
-
-