|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.geronimo.system.plugin.model.ConfigXmlContentType
public class ConfigXmlContentType
Lets a plugin declare data that should be inserted into config.xml when the plugin is installed. This is normally used to add ports and other settings that the user is likely to want to change. The gbean entries declared here will be written into config.xml for the new module when the plugin is installed.
Java class for config-xml-contentType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="config-xml-contentType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{http://geronimo.apache.org/xml/ns/attributes-1.2}comment" minOccurs="0"/>
<element ref="{http://geronimo.apache.org/xml/ns/attributes-1.2}gbean" maxOccurs="unbounded"/>
</sequence>
<attribute name="condition" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="load" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
<attribute name="server" type="{http://www.w3.org/2001/XMLSchema}string" default="default" />
</restriction>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected java.lang.String |
comment
|
protected java.lang.String |
condition
|
protected java.util.List<GbeanType> |
gbean
|
protected java.lang.Boolean |
load
|
protected java.lang.String |
server
|
| Constructor Summary | |
|---|---|
ConfigXmlContentType()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getComment()
Gets the value of the comment property. |
java.lang.String |
getCondition()
Gets the value of the condition property. |
java.util.List<GbeanType> |
getGbean()
Gets the value of the gbean property. |
java.lang.String |
getServer()
Gets the value of the server property. |
boolean |
isLoad()
Gets the value of the load property. |
void |
setComment(java.lang.String value)
Sets the value of the comment property. |
void |
setCondition(java.lang.String value)
Sets the value of the condition property. |
void |
setLoad(java.lang.Boolean value)
Sets the value of the load property. |
void |
setServer(java.lang.String value)
Sets the value of the server property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.String comment
protected java.util.List<GbeanType> gbean
protected java.lang.String condition
protected java.lang.Boolean load
protected java.lang.String server
| Constructor Detail |
|---|
public ConfigXmlContentType()
| Method Detail |
|---|
public java.lang.String getComment()
Stringpublic void setComment(java.lang.String value)
value - allowed object is
Stringpublic java.util.List<GbeanType> getGbean()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the gbean property.
For example, to add a new item, do as follows:
getGbean().add(newItem);
Objects of the following type(s) are allowed in the list
GbeanType
public java.lang.String getCondition()
Stringpublic void setCondition(java.lang.String value)
value - allowed object is
Stringpublic boolean isLoad()
Booleanpublic void setLoad(java.lang.Boolean value)
value - allowed object is
Booleanpublic java.lang.String getServer()
Stringpublic void setServer(java.lang.String value)
value - allowed object is
String
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||