
the resource adaptor component jar file only. They are not granted to classes
loaded from any other dependent jars required by resource adaptors defined in
the resource adaptor component jar’s deployment descriptor, nor to any
dependent library jars used by the same.
Example:
<security-permission-spec>
grant {
permission java.lang.RuntimePermission "modifyThreadGroup";
};
</security-permission-spec>
-->
<!ELEMENT security-permission-spec (#PCDATA)>
<!ATTLIST sbb id ID #REQUIRED>
18.5.3 Packaging Extension Deployment Descriptors
Services
The Extension Deployment Descriptor for Services must be placed in the
META-INF
directory of the deployable unit jar.
The id attribute is used to link the Service with the Extension Deployment descriptor. An example of the Service Deployment
Descriptor and Extension Deployment Descriptor is shown in Section 18.5.4.
SBBs
The extension Deployment Descriptor for SBBs must be placed in the
META-INF
directory contained within the SBB jar file.
The filename must be oc-sbb-jar.xml.
The id attribute is used to link the SBB with the Extension Deployment descriptor. An example of the SBB Deployment
Descriptor and Extension Deployment Descriptor is shown in Section 18.5.4.
18.5.4 Example
Service
Assume a Service Deployment Descriptor has declared a service with an id attribute set to my_service. The Service Extension
Deployment descriptor to turn off the default entity-tree-lock behaviour is as follows.
<!DOCTYPE oc-service-xml PUBLIC
"-//Open Cloud Ltd.//DTD JAIN SLEE Service Extension 1.0//EN"
"http://www.opencloud.com/dtd/oc-service-xml_1_0.dtd">
<oc-service-xml>
<service id="my_service">
<description>
Disable entity tree lock for my_service
</description>
<service-properties entity-tree-lock-disabled="True" />
</service>
</oc-service-xml>
Open Cloud Rhino 1.4.3 Administration Manual v1.1 110
Comentários a estes Manuais