Package org.apache.maven.plugins.ear
Class ResourceRef
java.lang.Object
org.apache.maven.plugins.ear.ResourceRef
Representation of
resource-ref
element in application.xml
file.
<resource-ref> <res-ref-name>jdbc/myDs</res-ref-name> <res-type>javax.sql.DataSource</res-type> <res-auth>Container</res-auth> </resource-ref>or
<resource-ref> <res-ref-name>jdbc/myDs</res-ref-name> <res-type>javax.sql.DataSource</res-type> <lookup-name>jdbc/lookup/myDs</lookup-name> </resource-ref>
- Since:
- 3.0.0
- Author:
- Karl Heinz Marbaise
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
appendResourceRefEntry
(org.codehaus.plexus.util.xml.XMLWriter writer) Appends theXML
representation of this env-entry.getAuth()
getName()
getType()
void
void
setLookupName
(String lookupName) void
void
-
Constructor Details
-
ResourceRef
- Parameters:
name
- The res-ref-name.type
- The res-typeauth
- The res-auth.lookupName
- The lookup-name.
-
-
Method Details
-
appendResourceRefEntry
public void appendResourceRefEntry(org.codehaus.plexus.util.xml.XMLWriter writer) Appends theXML
representation of this env-entry.- Parameters:
writer
- the writer to use
-
getName
- Returns:
name
-
setName
- Parameters:
name
-name
-
getType
- Returns:
type
-
setType
- Parameters:
type
-type
-
getAuth
- Returns:
auth
-
setAuth
- Parameters:
auth
-auth
-
getLookupName
- Returns:
lookupName
-
setLookupName
- Parameters:
lookupName
-lookupName
-