Contained Within
Find More DocumentationFeatured Support Resources | Descargar este libro en PDF (1146 KB)
Rread-onlySpecifies that a field is read-only if true. If this element is absent, the default value is false . Superelementscmp-field-mapping (sun-cmp-mappings.xml) Subelementsnone - contains data realmSpecifies the name of the realm used to process all authentication requests associated with this application. If this element is not specified or does not match the name of a configured realm, the default realm is used. For more information about realms, see Realm Configuration in Sun Java System Application Server Platform Edition 9 Developer’s Guide. Superelementssun-application (sun-application.xml), as-context (sun-ejb-jar.xml) Subelementsnone - contains data refresh-fieldSpecifies a field that gives the application component a programmatic way to refresh a cached entry. Superelementscache-mapping (sun-web.xml) Subelementsnone AttributesThe following table describes attributes for the refresh-field element. Table A–89 refresh-field Attributes
refresh-period-in-secondsSpecifies the rate at which a read-only-bean must be refreshed from the data source. If the value is less than or equal to zero, the bean is never refreshed; if the value is greater than zero, the bean instances are refreshed at the specified interval. This rate is just a hint to the container. Default is 0 (no refresh). Superelementsejb (sun-ejb-jar.xml) Subelementsnone - contains data removal-timeout-in-secondsSpecifies the amount of time a bean instance can remain idle in the container before it is removed (timeout). A value of 0 specifies that the container does not remove inactive beans automatically. The default value is 5400. If removal-timeout-in-seconds is less than or equal to cache-idle-timeout-in-seconds, beans are removed immediately without being passivated. Applies to stateful session beans. For related information, see cache-idle-timeout-in-seconds. Superelementsbean-cache (sun-ejb-jar.xml) Subelementsnone - contains data remote-home-implSpecifies the fully-qualified class name of the generated EJBHome impl class. Note – This value is automatically generated by the server at deployment or redeployment time. Do not specify it or change it after deployment. Superelementsgen-classes (sun-ejb-jar.xml) Subelementsnone - contains data remote-implSpecifies the fully-qualified class name of the generated EJBObject impl class. Note – This value is automatically generated by the server at deployment or redeployment time. Do not specify it or change it after deployment. Superelementsgen-classes (sun-ejb-jar.xml) Subelementsnone - contains data request-policyDefines the authentication policy requirements of the authentication provider’s request processing. Superelementsprovider-config (sun-acc.xml) Subelementsnone AttributesThe following table describes attributes for the request-policy element. Table A–90 request-policy Attributes
request-protectionDefines the authentication policy requirements of the application’s request processing. Superelementsmessage-security (sun-web.xml, sun-ejb-jar.xml, sun-application-client.xml) Subelementsnone AttributesThe following table describes attributes for the request-protection element. Table A–91 request-protection Attributes
requiredSpecifies whether the authentication method specified must be used for client authentication. The value is true or false. Superelementsas-context (sun-ejb-jar.xml) Subelementsnone - contains data res-ref-nameSpecifies the res-ref-name in the corresponding Java EE deployment descriptor file resource-ref entry. The res-ref-name element specifies the name of a resource manager connection factory reference. The name must be unique within an enterprise bean. Superelementsresource-ref (sun-web.xml, sun-ejb-jar.xml, sun-application-client.xml) Subelementsnone - contains data resize-quantitySpecifies the number of bean instances to be:
Values are from 0 to MAX_INTEGER. The pool is not resized below the steady-pool-size. Default is 16. Applies to stateless session beans, entity beans, and message-driven beans. For EJB pools, the value can be defined in the EJB container. Default is 16. For EJB caches, the value can be defined in the EJB container. Default is 32. For message-driven beans, the value can be defined in the EJB container. Default is 2. Superelementsbean-cache, bean-pool (sun-ejb-jar.xml) Subelementsnone - contains data resource-adapter-midSpecifies the module ID of the resource adapter that is responsible for delivering messages to the message-driven bean. Superelementsmdb-resource-adapter (sun-ejb-jar.xml) Subelementsnone - contains data resource-env-refMaps the res-ref-name in the corresponding Java EE deployment descriptor file resource-env-ref entry to the absolute jndi-name of a resource. 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 resource-env-ref element. Table A–92 resource-env-ref Subelements
Example<resource-env-ref> <resource-env-ref-name>jms/StockQueueName</resource-env-ref-name> <jndi-name>jms/StockQueue</jndi-name> </resource-env-ref> resource-env-ref-nameSpecifies the res-ref-name in the corresponding Java EE deployment descriptor file resource-env-ref entry. Superelementsresource-env-ref (sun-web.xml, sun-ejb-jar.xml, sun-application-client.xml) Subelementsnone - contains data resource-refMaps the res-ref-name in the corresponding Java EE deployment descriptor file resource-ref entry to the absolute jndi-name of a resource. Note – Connections acquired from JMS connection factories are not shareable in the current release of the Application Server. The res-sharing-scope element in the ejb-jar.xml file resource-ref element is ignored for JMS connection factories. When resource-ref specifies a JMS connection factory for the Sun Java System Message Queue, the default-resource-principal (name/password) must exist in the Message Queue user repository. Refer to the Security Management chapter in the Sun Java System Message Queue 3.7 UR1 Administration Guide for information on how to manage the Message Queue user repository. 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 resource-ref element. Table A–93 resource-ref Subelements
Example<resource-ref> <res-ref-name>jdbc/EmployeeDBName</res-ref-name> <jndi-name>jdbc/EmployeeDB</jndi-name> </resource-ref> response-policyDefines the authentication policy requirements of the authentication provider’s response processing. Superelementsprovider-config (sun-acc.xml) Subelementsnone AttributesThe following table describes attributes for the response-policy element. Table A–94 response-policy Attributes
response-protectionDefines the authentication policy requirements of the application’s response processing. Superelementsmessage-security (sun-web.xml, sun-ejb-jar.xml, sun-application-client.xml) Subelementsnone AttributesThe following table describes attributes for the response-protection element. Table A–95 response-protection Attributes
role-nameContains the role-name in the security-role element of the corresponding Java EE deployment descriptor file. Superelementssecurity-role-mapping (sun-application.xml, sun-web.xml, sun-ejb-jar.xml) Subelementsnone - contains data |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||