|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cuba.util.ddgen.tokens.Reference cuba.util.ddgen.tokens.EnvironmentEntry
public class EnvironmentEntry
ResourceReference representsan environment entry in a component-jar.xml file.
Constructor Summary | |
---|---|
EnvironmentEntry()
|
Method Summary | |
---|---|
java.lang.String |
getLink()
Returns the reference name which only makes sense for function EJB3AdapterGenerator.generateReferenceDeclarations(cuba.util.GeneratedFile, java.lang.String, java.util.Collection, java.lang.String) . |
java.lang.String |
getValue()
|
void |
setLink(java.lang.String link)
Sets the environment entrie's value attribute rather than the link attribute, allowing to provide an environment value by the @Resource annotation's link spec. |
void |
setValue(java.lang.String string)
|
Methods inherited from class cuba.util.ddgen.tokens.Reference |
---|
ejb3InjectionNameAttr, ejb3InterfaceAttrName, ejb3LinkAttrName, getInjectionMemberName, getInjectionMethodDeclaratorType, getInjectionMethodName, getReferenceName, getTypeName, isComponentContext, needsInjection, setInjectionMemberName, setInjectionMethodDeclaratorType, setInjectionMethodName, setReferenceName, setTypeName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EnvironmentEntry()
Method Detail |
---|
public java.lang.String getValue()
public void setValue(java.lang.String string)
public void setLink(java.lang.String link)
setLink
in class Reference
public java.lang.String getLink()
EJB3AdapterGenerator.generateReferenceDeclarations(cuba.util.GeneratedFile, java.lang.String, java.util.Collection, java.lang.String)
.
For some reason, JBoss 4.0.5 doesn't except an environment entry annotation
without a mappedName. This function causes mappedName to be set to the name
of the entry. Doesn't make sense but works well. We hope that other application
servers don't complain about that.
getLink
in class Reference
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |