|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.hk2.component.InhabitantFileBasedParser
@Deprecated public class InhabitantFileBasedParser
InhabitantParser
implementation based on the inhabitant
file format.
Format of the inhabitant is subject to changes and compatibility across releases cannot
be guaranteed.
file : line+
line : class=class-value, (key=value ,?)+
key : index | targetType | any
class-value : Class.getName()
name of the service implementation
index : index-name[:name](,index)*
index-name : Class.getName()
class name of the contract
name: string identifying the service name
targeType : class-type (, method-name)?
class-type : class name where InhabitantAnnotation
was declared
method-name : method name if the InhabitantAnnotation
was placed on a method
any : some-key=some-value
some-key : [a-z]+
some-value : [a-z]+
"Any" above contributes to the metadata portion of the inhabitant.
Constructor Summary | |
---|---|
InhabitantFileBasedParser(KeyValuePairParser parser)
Deprecated. |
Method Summary | |
---|---|
static Map<String,List<String>> |
buildMetadata(KeyValuePairParser kvpp)
Deprecated. |
String |
getImplName()
Deprecated. |
Iterable<String> |
getIndexes()
Deprecated. |
String |
getLine()
Deprecated. |
Map<String,List<String>> |
getMetaData()
Deprecated. |
void |
rewind()
Deprecated. |
void |
setImplName(String name)
Deprecated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InhabitantFileBasedParser(KeyValuePairParser parser)
Method Detail |
---|
public Iterable<String> getIndexes()
getIndexes
in interface InhabitantParser
public String getImplName()
getImplName
in interface InhabitantParser
public String getLine()
getLine
in interface InhabitantParser
public void setImplName(String name)
setImplName
in interface InhabitantParser
public void rewind()
rewind
in interface InhabitantParser
public Map<String,List<String>> getMetaData()
getMetaData
in interface InhabitantParser
public static Map<String,List<String>> buildMetadata(KeyValuePairParser kvpp)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |