|
||||||||||
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 String |
comment
|
protected String |
condition
|
protected List<GbeanType> |
gbean
|
protected Boolean |
load
|
protected String |
server
|
Constructor Summary | |
---|---|
ConfigXmlContentType()
|
Method Summary | |
---|---|
String |
getComment()
Gets the value of the comment property. |
String |
getCondition()
Gets the value of the condition property. |
List<GbeanType> |
getGbean()
Gets the value of the gbean property. |
String |
getServer()
Gets the value of the server property. |
boolean |
isLoad()
Gets the value of the load property. |
void |
setComment(String value)
Sets the value of the comment property. |
void |
setCondition(String value)
Sets the value of the condition property. |
void |
setLoad(Boolean value)
Sets the value of the load property. |
void |
setServer(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 String comment
protected List<GbeanType> gbean
protected String condition
protected Boolean load
protected String server
Constructor Detail |
---|
public ConfigXmlContentType()
Method Detail |
---|
public String getComment()
String
public void setComment(String value)
value
- allowed object is
String
public 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 String getCondition()
String
public void setCondition(String value)
value
- allowed object is
String
public boolean isLoad()
Boolean
public void setLoad(Boolean value)
value
- allowed object is
Boolean
public String getServer()
String
public void setServer(String value)
value
- allowed object is
String
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |