complexType faces-config-managed-beanType

complexType {http://java.sun.com/xml/ns/j2ee}faces-config-managed-beanType

Abstractfalse (This can be used in an instance)
Target Namespacehttp://java.sun.com/xml/ns/j2ee
Declared Namespacesxmlns:xsd=http://www.w3.org/2001/XMLSchema
xmlns:j2ee=http://java.sun.com/xml/ns/j2ee


Source

<xsd:complexType name="faces-config-managed-beanType">
    <
xsd:annotation>
        <
xsd:documentation>
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.
        
</xsd:documentation>
    </
xsd:annotation>
    <
xsd:sequence>
        <
xsd:group ref="j2ee:descriptionGroup"/>
        <
xsd:element name="managed-bean-name" type="j2ee:java-identifierType">
            <
xsd:annotation>
                <
xsd:documentation>
The "managed-bean-name" element represents the attribute
name under which a managed bean will be searched for, as
well as stored (unless the "managed-bean-scope" value
is "none").
                
</xsd:documentation>
            </
xsd:annotation>
        </
xsd:element>
        <
xsd:element name="managed-bean-class" type="j2ee:fully-qualified-classType">
            <
xsd:annotation>
                <
xsd:documentation>
The "managed-bean-class" element represents the fully
qualified class name of the Java class that will be used
to instantiate a new instance if creation of the specified
managed bean is requested.

The specified class must conform to standard JavaBeans
conventions. In particular, it must have a public
zero-arguments constructor, and zero or more public
property setters.
                
</xsd:documentation>
            </
xsd:annotation>
        </
xsd:element>
        <
xsd:element name="managed-bean-scope" type="j2ee:faces-config-managed-bean-scopeOrNoneType">
            <
xsd:annotation>
                <
xsd:documentation>
The "managed-bean-scope" element represents the scope into
which a newly created instance of the specified managed
bean will be stored (unless the value is "none").
                
</xsd:documentation>
            </
xsd:annotation>
        </
xsd:element>
        <
xsd:choice>
            <
xsd:element name="managed-property" type="j2ee:faces-config-managed-propertyType"
                
minOccurs="0" maxOccurs="unbounded"/>
            <
xsd:element name="map-entries" type="j2ee:faces-config-map-entriesType"/>
            <
xsd:element name="list-entries" type="j2ee:faces-config-list-entriesType"/>
        </
xsd:choice>
    </
xsd:sequence>
    <
xsd:attribute name="id" type="xsd:ID"/>
</
xsd:complexType>


Documentation

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.


complexType faces-config-managed-beanType


Stylus Studio XML Schema Library Home
Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio®, a product from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2006 All Rights Reserved.