Contenues dans
Trouver plus de documentationRessources d'assistance comprises | Télécharger cet ouvrage au format PDF (1146 Ko)
Mmanager-propertiesSpecifies session manager properties. Superelementssession-manager (sun-web.xml) SubelementsThe following table describes subelements for the manager-properties element. Table A–63 manager-properties Subelements
PropertiesThe following table describes properties for the manager-properties element. Table A–64 manager-properties Properties
mapping-propertiesThis element is not implemented. Superelementscmp (sun-ejb-jar.xml) max-cache-sizeSpecifies the maximum number of beans allowable in cache. A value of zero indicates an unbounded cache. In reality, there is no hard limit. The max-cache-size limit is just a hint to the cache implementation. Default is 512. Applies to stateful session beans and entity beans. Superelementsbean-cache (sun-ejb-jar.xml) Subelementsnone - contains data max-pool-sizeSpecifies the maximum number of bean instances in the pool. Values are from 0 (1 for message-driven bean) to MAX_INTEGER. A value of 0 means the pool is unbounded. Default is 64. Applies to all beans. Superelementsbean-pool (sun-ejb-jar.xml) Subelementsnone - contains data max-wait-time-in-millisThis element is deprecated. Do not use. Superelementsbean-pool (sun-ejb-jar.xml) mdb-connection-factorySpecifies the connection factory associated with a message-driven bean. Queue or Topic type must be consistent with the Java Message Service Destination type associated with the message-driven bean class. Superelementsejb (sun-ejb-jar.xml) SubelementsThe following table describes subelements for the mdb-connection-factory element. Table A–65 mdb-connection-factory Subelements
mdb-resource-adapterSpecifies runtime configuration information for a message-driven bean. Superelementsejb (sun-ejb-jar.xml) SubelementsThe following table describes subelements for the mdb-resource-adapter element. Table A–66 mdb-resource-adapter subelements
messageSpecifies the methods or operations to which message security requirements apply. Superelementsmessage-security (sun-web.xml, sun-ejb-jar.xml, sun-application-client.xml) SubelementsThe following table describes subelements for the message element. Table A–67 message Subelements
message-destinationSpecifies the name of a logical message-destination defined within an application. The message-destination-name matches the corresponding message-destination-name in the corresponding Java EE deployment descriptor file. Use when the message destination reference in the corresponding Java EE deployment descriptor file specifies a message-destination-link to a logical message-destination. Superelementssun-web-app (sun-web.xml), enterprise-beans (sun-ejb-jar.xml), sun-application-client (sun-application-client.xml) SubelementsThe following table describes subelements for the message-destination element. Table A–68 message-destination subelements
message-destination-nameSpecifies the name of a logical message destination defined within the corresponding Java EE deployment descriptor file. Superelementsmessage-destination (sun-web.xml, sun-ejb-jar.xml, sun-application-client.xml) Subelementsnone - contains data message-destination-refDirectly binds a message destination reference to the JNDI name of a Queue, Topic, or other physical destination. Use only when the message destination reference in the corresponding Java EE deployment descriptor file does not specify a message-destination-link to a logical message-destination. Superelementssun-web-app (sun-web.xml), ejb (sun-ejb-jar.xml), sun-application-client (sun-application-client.xml) SubelementsThe following table describes subelements for the message-destination-ref element. Table A–69 message-destination-ref subelements
message-destination-ref-nameSpecifies the name of a physical message destination defined within the corresponding Java EE deployment descriptor file. Superelementsmessage-destination-ref (sun-web.xml, sun-ejb-jar.xml, sun-application-client.xml) Subelementsnone - contains data message-securitySpecifies message security requirements.
Superelementsmessage-security-binding (sun-web.xml, sun-ejb-jar.xml, sun-application-client.xml) SubelementsThe following table describes subelements for the message-security element. Table A–70 message-security Subelements
message-security-bindingSpecifies a custom authentication provider binding for a parent webservice-endpoint or port-info element in one or both of these ways:
Superelementswebservice-endpoint, port-info (sun-web.xml, sun-ejb-jar.xml, sun-application-client.xml) SubelementsThe following table describes subelements for the message-security-binding element. Table A–71 message-security-binding Subelements
AttributesThe following table describes attributes for the message-security-binding element. Table A–72 message-security-binding Attributes
message-security-configSpecifies configurations for message security providers. Superelementsclient-container (sun-acc.xml) SubelementsThe following table describes subelements for the message-security-config element. Table A–73 message-security-config Subelements
AttributesThe following table describes attributes for the message-security-config element. Table A–74 message-security-config Attributes
methodSpecifies a bean method. Superelementsflush-at-end-of-method (sun-ejb-jar.xml) SubelementsThe following table describes subelements for the method element. Table A–75 method Subelements
method-intfSpecifies the method interface to distinguish between methods with the same name in different interfaces. Allowed values are Home, Remote, LocalHome, and Local. Superelementsmethod (sun-ejb-jar.xml) Subelementsnone - contains data method-nameSpecifies a method name or * (an asterisk) for all methods. If a method is overloaded, specifies all methods with the same name. Superelementsjava-method (sun-web.xml, sun-ejb-jar.xml, sun-application-client.xml); finder, query-method , method (sun-ejb-jar.xml) Subelementsnone - contains data Examples<method-name>findTeammates</method-name> <method-name>*</method-name> method-paramSpecifies the fully qualified Java type name of a method parameter. Superelementsmethod-params (sun-web.xml, sun-ejb-jar.xml, sun-application-client.xml) Subelementsnone - contains data method-paramsSpecifies fully qualified Java type names of method parameters. Superelementsjava-method (sun-web.xml, sun-ejb-jar.xml, sun-application-client.xml); query-method, method (sun-ejb-jar.xml) SubelementsThe following table describes subelements for the method-params element. Table A–76 method-params Subelements
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||