|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface FacesConfigManagedBeanType
The "managed-bean" element represents a JavaBean, of a particular class, that will be dynamically instantiated at runtime (by the default VariableResolver implementation) if it is referenced as the first element of a value binding expression, and no corresponding bean can be identified in any scope. In addition to the creation of the managed bean, and the optional storing of it into the specified scope, the nested managed-property elements can be used to initialize the contents of settable JavaBeans properties of the created instance.
Java class for faces-config-managed-beanType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="faces-config-managed-beanType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<group ref="{http://java.sun.com/xml/ns/javaee}descriptionGroup"/>
<element name="managed-bean-name" type="{http://java.sun.com/xml/ns/javaee}java-identifierType"/>
<element name="managed-bean-class" type="{http://java.sun.com/xml/ns/javaee}fully-qualified-classType"/>
<element name="managed-bean-scope" type="{http://java.sun.com/xml/ns/javaee}faces-config-managed-bean-scopeOrNoneType"/>
<choice>
<element name="managed-property" type="{http://java.sun.com/xml/ns/javaee}faces-config-managed-propertyType" maxOccurs="unbounded" minOccurs="0"/>
<element name="map-entries" type="{http://java.sun.com/xml/ns/javaee}faces-config-map-entriesType"/>
<element name="list-entries" type="{http://java.sun.com/xml/ns/javaee}faces-config-list-entriesType"/>
</choice>
<element name="managed-bean-extension" type="{http://java.sun.com/xml/ns/javaee}faces-config-managed-bean-extensionType" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
</restriction>
</complexContent>
</complexType>
| Method Summary | |
|---|---|
List<DescriptionType> |
getDescription()
Gets the value of the description property. |
List<DisplayNameType> |
getDisplayName()
Gets the value of the displayName property. |
List<IconType> |
getIcon()
Gets the value of the icon property. |
String |
getId()
Gets the value of the id property. |
FacesConfigListEntriesType |
getListEntries()
Gets the value of the listEntries property. |
FullyQualifiedClassType |
getManagedBeanClass()
Gets the value of the managedBeanClass property. |
List<FacesConfigManagedBeanExtensionType> |
getManagedBeanExtension()
Gets the value of the managedBeanExtension property. |
JavaIdentifierType |
getManagedBeanName()
Gets the value of the managedBeanName property. |
FacesConfigManagedBeanScopeOrNoneType |
getManagedBeanScope()
Gets the value of the managedBeanScope property. |
List<FacesConfigManagedPropertyType> |
getManagedProperty()
Gets the value of the managedProperty property. |
FacesConfigMapEntriesType |
getMapEntries()
Gets the value of the mapEntries property. |
void |
setId(String value)
Sets the value of the id property. |
void |
setListEntries(FacesConfigListEntriesType value)
Sets the value of the listEntries property. |
void |
setManagedBeanClass(FullyQualifiedClassType value)
Sets the value of the managedBeanClass property. |
void |
setManagedBeanName(JavaIdentifierType value)
Sets the value of the managedBeanName property. |
void |
setManagedBeanScope(FacesConfigManagedBeanScopeOrNoneType value)
Sets the value of the managedBeanScope property. |
void |
setMapEntries(FacesConfigMapEntriesType value)
Sets the value of the mapEntries property. |
| Method Detail |
|---|
List<DescriptionType> getDescription()
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 description property.
For example, to add a new item, do as follows:
getDescription().add(newItem);
Objects of the following type(s) are allowed in the list
DescriptionType
List<DisplayNameType> getDisplayName()
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 displayName property.
For example, to add a new item, do as follows:
getDisplayName().add(newItem);
Objects of the following type(s) are allowed in the list
DisplayNameType
List<IconType> getIcon()
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 icon property.
For example, to add a new item, do as follows:
getIcon().add(newItem);
Objects of the following type(s) are allowed in the list
IconType
JavaIdentifierType getManagedBeanName()
JavaIdentifierTypevoid setManagedBeanName(JavaIdentifierType value)
value - allowed object is
JavaIdentifierTypeFullyQualifiedClassType getManagedBeanClass()
FullyQualifiedClassTypevoid setManagedBeanClass(FullyQualifiedClassType value)
value - allowed object is
FullyQualifiedClassTypeFacesConfigManagedBeanScopeOrNoneType getManagedBeanScope()
FacesConfigManagedBeanScopeOrNoneTypevoid setManagedBeanScope(FacesConfigManagedBeanScopeOrNoneType value)
value - allowed object is
FacesConfigManagedBeanScopeOrNoneTypeList<FacesConfigManagedPropertyType> getManagedProperty()
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 managedProperty property.
For example, to add a new item, do as follows:
getManagedProperty().add(newItem);
Objects of the following type(s) are allowed in the list
FacesConfigManagedPropertyType
FacesConfigMapEntriesType getMapEntries()
FacesConfigMapEntriesTypevoid setMapEntries(FacesConfigMapEntriesType value)
value - allowed object is
FacesConfigMapEntriesTypeFacesConfigListEntriesType getListEntries()
FacesConfigListEntriesTypevoid setListEntries(FacesConfigListEntriesType value)
value - allowed object is
FacesConfigListEntriesTypeList<FacesConfigManagedBeanExtensionType> getManagedBeanExtension()
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 managedBeanExtension property.
For example, to add a new item, do as follows:
getManagedBeanExtension().add(newItem);
Objects of the following type(s) are allowed in the list
FacesConfigManagedBeanExtensionType
String getId()
Stringvoid setId(String value)
value - allowed object is
String
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||