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:
getHeadersin interfaceBundle
-
getRegisteredServices
public ServiceReference<?>[] getRegisteredServices()
- Specified by:
getRegisteredServicesin interfaceBundle
-
getServicesInUse
public ServiceReference<?>[] getServicesInUse()
- Specified by:
getServicesInUsein interfaceBundle
-
hasPermission
public boolean hasPermission(Object permission)
- Specified by:
hasPermissionin interfaceBundle
-
getResource
public URL getResource(String name)
- Specified by:
getResourcein interfaceBundle
-
getHeaders
public Dictionary<String,String> getHeaders(String locale)
- Specified by:
getHeadersin interfaceBundle
-
loadClass
public Class<?> loadClass(String name) throws ClassNotFoundException
- Specified by:
loadClassin interfaceBundle- Throws:
ClassNotFoundException
-
getResources
public Enumeration<URL> getResources(String name) throws IOException
- Specified by:
getResourcesin interfaceBundle- Throws:
IOException
-
getLastModified
public long getLastModified()
- Specified by:
getLastModifiedin interfaceBundle- Specified by:
getLastModifiedin interfaceFramework
-
getBundleContext
public BundleContext getBundleContext()
- Specified by:
getBundleContextin interfaceBundle
-
getSignerCertificates
public Map<X509Certificate,List<X509Certificate>> getSignerCertificates(int signersType)
- Specified by:
getSignerCertificatesin interfaceBundle
-
getVersion
public Version getVersion()
- Specified by:
getVersionin interfaceBundle
-
getDataFile
public File getDataFile(String filename)
- Specified by:
getDataFilein interfaceBundle
-
compareTo
public int compareTo(Bundle o)
- Specified by:
compareToin interfaceComparable<Bundle>
-
start
public void start(int options) throws BundleException- Specified by:
startin interfaceBundle- Specified by:
startin interfaceFramework- Throws:
BundleException
-
start
public void start() throws BundleException- Specified by:
startin interfaceBundle- Specified by:
startin interfaceFramework- Throws:
BundleException
-
stop
public void stop(int options) throws BundleException- Specified by:
stopin interfaceBundle- Specified by:
stopin interfaceFramework- Throws:
BundleException
-
stop
public void stop() throws BundleException- Specified by:
stopin interfaceBundle- Specified by:
stopin interfaceFramework- Throws:
BundleException
-
update
public void update(InputStream input) throws BundleException
- Specified by:
updatein interfaceBundle- Specified by:
updatein interfaceFramework- Throws:
BundleException
-
update
public void update() throws BundleException- Specified by:
updatein interfaceBundle- Specified by:
updatein interfaceFramework- Throws:
BundleException
-
uninstall
public void uninstall() throws BundleException- Specified by:
uninstallin interfaceBundle- Specified by:
uninstallin interfaceFramework- Throws:
BundleException
-
getBundleId
public long getBundleId()
- Specified by:
getBundleIdin interfaceBundle- Specified by:
getBundleIdin interfaceFramework
-
getLocation
public String getLocation()
- Specified by:
getLocationin interfaceBundle- Specified by:
getLocationin interfaceFramework
-
getSymbolicName
public String getSymbolicName()
- Specified by:
getSymbolicNamein interfaceBundle- Specified by:
getSymbolicNamein interfaceFramework
-
getEntryPaths
public Enumeration<String> getEntryPaths(String path)
- Specified by:
getEntryPathsin interfaceBundle- Specified by:
getEntryPathsin interfaceFramework
-
findEntries
public Enumeration<URL> findEntries(String path, String filePattern, boolean recurse)
- Specified by:
findEntriesin interfaceBundle- Specified by:
findEntriesin interfaceFramework
-
adapt
public <A> A adapt(Class<A> type)
-
init
public void init() throws BundleException- Specified by:
initin interfaceFramework- Throws:
BundleException
-
init
public void init(FrameworkListener... listeners) throws BundleException
- Specified by:
initin interfaceFramework- Throws:
BundleException- Since:
- 3.10
-
waitForStop
public FrameworkEvent waitForStop(long timeout) throws InterruptedException
- Specified by:
waitForStopin interfaceFramework- Throws:
InterruptedException
-
-