@Component(role=EquinoxServiceFactory.class) public class DefaultEquinoxEmbedder extends org.codehaus.plexus.logging.AbstractLogEnabled implements EquinoxServiceFactory, EmbeddedEquinox, org.codehaus.plexus.personality.plexus.lifecycle.phase.Disposable
Constructor and Description |
---|
DefaultEquinoxEmbedder() |
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
protected void |
doStart() |
<T> T |
getService(Class<T> clazz) |
<T> T |
getService(Class<T> clazz,
String filter) |
EquinoxServiceFactory |
getServiceFactory() |
protected boolean |
isFrameworkBundle(File file) |
<T> void |
registerService(Class<T> clazz,
T service) |
<T> void |
registerService(Class<T> clazz,
T service,
Dictionary<String,?> properties) |
void |
start() |
protected boolean isFrameworkBundle(File file)
public <T> T getService(Class<T> clazz)
getService
in interface EquinoxServiceFactory
public <T> T getService(Class<T> clazz, String filter)
getService
in interface EquinoxServiceFactory
public <T> void registerService(Class<T> clazz, T service)
registerService
in interface EmbeddedEquinox
public <T> void registerService(Class<T> clazz, T service, Dictionary<String,?> properties)
registerService
in interface EmbeddedEquinox
public void dispose()
dispose
in interface org.codehaus.plexus.personality.plexus.lifecycle.phase.Disposable
public EquinoxServiceFactory getServiceFactory()
getServiceFactory
in interface EmbeddedEquinox
Copyright © 2008–2015 Eclipse Foundation. All rights reserved.