|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sun.hk2.component.InhabitantsParser
org.jvnet.hk2.osgiadapter.OSGiInhabitantsParser
public class OSGiInhabitantsParser
Parses /META-INF/inhabitants and
populate Habitat.
and registers services in OSGi Service Registry.
| Field Summary | |
|---|---|
static java.lang.String |
SERVICE_NAME
When an HK2 service is defined with a name (using the name attribute of Service annotation, then
the corresponding OSGi service is registered with the following
property name. |
| Fields inherited from class com.sun.hk2.component.InhabitantsParser |
|---|
habitat |
| Constructor Summary | |
|---|---|
OSGiInhabitantsParser(Habitat habitat,
org.osgi.framework.BundleContext ctx)
|
|
| Method Summary | |
|---|---|
protected void |
add(Inhabitant i,
InhabitantParser parser)
This method registers an equivalent service in OSGi's Service Registry. |
| Methods inherited from class com.sun.hk2.component.InhabitantsParser |
|---|
add, addIndex, drop, drop, isFilteredInhabitant, isFilteredInhabitant, parse, replace, replace |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String SERVICE_NAME
Service annotation, then
the corresponding OSGi service is registered with the following
property name.
See ServiceRegistration.setProperties(java.util.Dictionary)
| Constructor Detail |
|---|
public OSGiInhabitantsParser(Habitat habitat,
org.osgi.framework.BundleContext ctx)
| Method Detail |
|---|
protected void add(Inhabitant i,
InhabitantParser parser)
add in class InhabitantsParseri - Inhabitant which is being exposed as service objectparser - the inhabitant metadata information
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||