Package org.eclipse.osgi.launch
Class Equinox
java.lang.Object
org.eclipse.osgi.launch.Equinox
- All Implemented Interfaces:
Comparable<Bundle>
,Bundle
,Framework
The System Bundle implementation for the Equinox Framework.
- Since:
- 3.5
-
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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<A> A
int
findEntries
(String path, String filePattern, boolean recurse) long
getDataFile
(String filename) getEntryPaths
(String path) getHeaders
(String locale) long
ServiceReference<?>[]
getResource
(String name) getResources
(String name) ServiceReference<?>[]
getSignerCertificates
(int signersType) int
getState()
boolean
hasPermission
(Object permission) void
init()
void
init
(FrameworkListener... listeners) Class<?>
void
start()
void
start
(int options) void
stop()
void
stop
(int options) void
void
update()
void
update
(InputStream input) waitForStop
(long timeout)
-
Constructor Details
-
Equinox
-
Equinox
- Since:
- 3.16
-
-
Method Details
-
getState
public int getState() -
getHeaders
- Specified by:
getHeaders
in interfaceBundle
-
getRegisteredServices
- Specified by:
getRegisteredServices
in interfaceBundle
-
getServicesInUse
- Specified by:
getServicesInUse
in interfaceBundle
-
hasPermission
- Specified by:
hasPermission
in interfaceBundle
-
getResource
- Specified by:
getResource
in interfaceBundle
-
getHeaders
- Specified by:
getHeaders
in interfaceBundle
-
loadClass
- Specified by:
loadClass
in interfaceBundle
- Throws:
ClassNotFoundException
-
getResources
- Specified by:
getResources
in interfaceBundle
- Throws:
IOException
-
getLastModified
public long getLastModified()- Specified by:
getLastModified
in interfaceBundle
- Specified by:
getLastModified
in interfaceFramework
-
getBundleContext
- Specified by:
getBundleContext
in interfaceBundle
-
getSignerCertificates
- Specified by:
getSignerCertificates
in interfaceBundle
-
getVersion
- Specified by:
getVersion
in interfaceBundle
-
getDataFile
- Specified by:
getDataFile
in interfaceBundle
-
compareTo
- Specified by:
compareTo
in interfaceComparable<Bundle>
-
start
- Specified by:
start
in interfaceBundle
- Specified by:
start
in interfaceFramework
- Throws:
BundleException
-
start
- Specified by:
start
in interfaceBundle
- Specified by:
start
in interfaceFramework
- Throws:
BundleException
-
stop
- Specified by:
stop
in interfaceBundle
- Specified by:
stop
in interfaceFramework
- Throws:
BundleException
-
stop
- Specified by:
stop
in interfaceBundle
- Specified by:
stop
in interfaceFramework
- Throws:
BundleException
-
update
- Specified by:
update
in interfaceBundle
- Specified by:
update
in interfaceFramework
- Throws:
BundleException
-
update
- Specified by:
update
in interfaceBundle
- Specified by:
update
in interfaceFramework
- Throws:
BundleException
-
uninstall
- 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
- Specified by:
getLocation
in interfaceBundle
- Specified by:
getLocation
in interfaceFramework
-
getSymbolicName
- Specified by:
getSymbolicName
in interfaceBundle
- Specified by:
getSymbolicName
in interfaceFramework
-
getEntryPaths
- Specified by:
getEntryPaths
in interfaceBundle
- Specified by:
getEntryPaths
in interfaceFramework
-
getEntry
-
findEntries
- Specified by:
findEntries
in interfaceBundle
- Specified by:
findEntries
in interfaceFramework
-
adapt
-
init
- Specified by:
init
in interfaceFramework
- Throws:
BundleException
-
init
- Specified by:
init
in interfaceFramework
- Throws:
BundleException
- Since:
- 3.10
-
waitForStop
- Specified by:
waitForStop
in interfaceFramework
- Throws:
InterruptedException
-