Class DefaultEquinoxEmbedder
- java.lang.Object
-
- org.codehaus.plexus.logging.AbstractLogEnabled
-
- org.eclipse.sisu.equinox.embedder.internal.DefaultEquinoxEmbedder
-
- All Implemented Interfaces:
org.codehaus.plexus.logging.LogEnabled
,org.codehaus.plexus.personality.plexus.lifecycle.phase.Disposable
,EmbeddedEquinox
,EquinoxServiceFactory
@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 Summary
Constructors Constructor Description DefaultEquinoxEmbedder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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()
-
-
-
Method Detail
-
isFrameworkBundle
protected boolean isFrameworkBundle(File file)
-
getService
public <T> T getService(Class<T> clazz)
- Specified by:
getService
in interfaceEquinoxServiceFactory
-
getService
public <T> T getService(Class<T> clazz, String filter)
- Specified by:
getService
in interfaceEquinoxServiceFactory
-
registerService
public <T> void registerService(Class<T> clazz, T service)
- Specified by:
registerService
in interfaceEmbeddedEquinox
-
registerService
public <T> void registerService(Class<T> clazz, T service, Dictionary<String,?> properties)
- Specified by:
registerService
in interfaceEmbeddedEquinox
-
dispose
public void dispose()
- Specified by:
dispose
in interfaceorg.codehaus.plexus.personality.plexus.lifecycle.phase.Disposable
-
getServiceFactory
public EquinoxServiceFactory getServiceFactory()
- Specified by:
getServiceFactory
in interfaceEmbeddedEquinox
-
-