KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > enterprise > tools > common > dd > ejb > OneOneFinders


1 /*
2  * The contents of this file are subject to the terms
3  * of the Common Development and Distribution License
4  * (the License). You may not use this file except in
5  * compliance with the License.
6  *
7  * You can obtain a copy of the license at
8  * https://glassfish.dev.java.net/public/CDDLv1.0.html or
9  * glassfish/bootstrap/legal/CDDLv1.0.txt.
10  * See the License for the specific language governing
11  * permissions and limitations under the License.
12  *
13  * When distributing Covered Code, include this CDDL
14  * Header Notice in each file and include the License file
15  * at glassfish/bootstrap/legal/CDDLv1.0.txt.
16  * If applicable, add the following below the CDDL Header,
17  * with the fields enclosed by brackets [] replaced by
18  * you own identifying information:
19  * "Portions Copyrighted [year] [name of copyright owner]"
20  *
21  * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
22  */

23
24 /**
25  * This generated bean class OneOneFinders matches the schema element one-one-finders
26  *
27  * Generated on Wed Aug 13 10:43:32 PDT 2003
28  */

29
30 package com.sun.enterprise.tools.common.dd.ejb;
31
32 import org.w3c.dom.*;
33 import org.netbeans.modules.schema2beans.*;
34 import java.beans.*;
35 import java.util.*;
36
37 // BEGIN_NOI18N
38

39 public class OneOneFinders extends com.sun.enterprise.tools.common.dd.SunBaseBean
40 {
41
42     static Vector comparators = new Vector();
43
44     static public final String JavaDoc FINDER = "Finder"; // NOI18N
45

46     public OneOneFinders() {
47         this(Common.USE_DEFAULT_VALUES);
48     }
49
50     public OneOneFinders(int options)
51     {
52         super(comparators, new org.netbeans.modules.schema2beans.Version(1, 2, 0));
53         // Properties (see root bean comments for the bean graph)
54
this.createProperty("finder", // NOI18N
55
FINDER,
56             Common.TYPE_1_N | Common.TYPE_BEAN | Common.TYPE_KEY,
57             Finder.class);
58         this.initialize(options);
59     }
60
61     // Setting the default values of the properties
62
void initialize(int options)
63     {
64
65     }
66
67     // This attribute is an array containing at least one element
68
public void setFinder(int index, Finder value) {
69         this.setValue(FINDER, index, value);
70     }
71
72     //
73
public Finder getFinder(int index) {
74         return (Finder)this.getValue(FINDER, index);
75     }
76
77     // This attribute is an array containing at least one element
78
public void setFinder(Finder[] value) {
79         this.setValue(FINDER, value);
80     }
81
82     //
83
public Finder[] getFinder() {
84         return (Finder[])this.getValues(FINDER);
85     }
86
87     // Return the number of properties
88
public int sizeFinder() {
89         return this.size(FINDER);
90     }
91
92     // Add a new element returning its index in the list
93
public int addFinder(com.sun.enterprise.tools.common.dd.ejb.Finder value) {
94         return this.addValue(FINDER, value);
95     }
96
97     //
98
// Remove an element using its reference
99
// Returns the index the element had in the list
100
//
101
public int removeFinder(com.sun.enterprise.tools.common.dd.ejb.Finder value) {
102         return this.removeValue(FINDER, value);
103     }
104
105     //
106
public static void addComparator(org.netbeans.modules.schema2beans.BeanComparator c) {
107         comparators.add(c);
108     }
109
110     //
111
public static void removeComparator(org.netbeans.modules.schema2beans.BeanComparator c) {
112         comparators.remove(c);
113     }
114     public void validate() throws org.netbeans.modules.schema2beans.ValidateException {
115         boolean restrictionFailure = false;
116         // Validating property finder
117
if (sizeFinder() == 0) {
118             throw new org.netbeans.modules.schema2beans.ValidateException("sizeFinder() == 0", "finder", this); // NOI18N
119
}
120         for (int _index = 0; _index < sizeFinder(); ++_index) {
121             com.sun.enterprise.tools.common.dd.ejb.Finder element = getFinder(_index);
122             if (element != null) {
123                 element.validate();
124             }
125         }
126     }
127
128     // Dump the content of this bean returning it as a String
129
public void dump(StringBuffer JavaDoc str, String JavaDoc indent){
130         String JavaDoc s;
131         Object JavaDoc o;
132         org.netbeans.modules.schema2beans.BaseBean n;
133         str.append(indent);
134         str.append("Finder["+this.sizeFinder()+"]"); // NOI18N
135
for(int i=0; i<this.sizeFinder(); i++)
136         {
137             str.append(indent+"\t");
138             str.append("#"+i+":");
139             n = (org.netbeans.modules.schema2beans.BaseBean) this.getFinder(i);
140             if (n != null)
141                 n.dump(str, indent + "\t"); // NOI18N
142
else
143                 str.append(indent+"\tnull"); // NOI18N
144
this.dumpAttributes(FINDER, i, str, indent);
145         }
146
147     }
148     public String JavaDoc dumpBeanNode(){
149         StringBuffer JavaDoc str = new StringBuffer JavaDoc();
150         str.append("OneOneFinders\n"); // NOI18N
151
this.dump(str, "\n "); // NOI18N
152
return str.toString();
153     }}
154
155 // END_NOI18N
156

157
158 /*
159         The following schema file has been used for generation:
160
161 <!--
162   XML DTD for Sun ONE Application Server specific EJB jar module
163   deployment descriptor. This is a companion DTD for ejb-jar_2_1.xsd
164
165   $Revision: 1.3 $
166 -->
167
168 <!--
169 This is the root element of the ejb module descriptor document.
170 -->
171 <!ELEMENT sun-ejb-jar (security-role-mapping*, enterprise-beans) >
172
173 <!--
174 System unique object id. Automatically generated and updated at deployment/redeployment
175 -->
176 <!ELEMENT unique-id (#PCDATA)>
177
178 <!--
179 This is the root element describing all the runtime of an ejb-jar in the application.
180 -->
181 <!ELEMENT enterprise-beans (name?, unique-id?, ejb*, pm-descriptors?, cmp-resource?,
182     message-destination*, webservice-description*)>
183
184 <!--
185 This is the element describing runtime bindings for a single ejb.
186
187 Properties applicable to all types of beans:
188      ejb-name, ejb-ref*, jndi-name, resource-ref*, resource-env-ref*, pass-by-reference?,
189      ior-security-config?, gen-classes?, service-ref*
190
191 Additional properties applicable to a stateless session bean:
192     bean-pool, webservice-endpoint
193
194 Additional properties applicable to a stateful session bean:
195     bean-cache, webservice-endpoint
196
197 Additional properties applicable to an entity bean:
198    is-read-only-bean?, refresh-period-in-seconds?, cmp?, commit-option?, bean-cache?, bean-pool?
199
200 Additional properties applicable to a message-driven bean:
201    mdb-resource-adapter?, mdb-connection-factory?, jms-durable-subscription-name?,
202    jms-max-messages-load?, bean-pool?
203    ( In case of MDB, jndi-name is the jndi name of the associated jms destination )
204 -->
205
206 <!ELEMENT ejb (ejb-name, jndi-name?, ejb-ref*, resource-ref*, resource-env-ref*, service-ref*, pass-by-reference?,
207                cmp?, principal?, mdb-connection-factory?, jms-durable-subscription-name?,
208                jms-max-messages-load?, ior-security-config?, is-read-only-bean?,
209                refresh-period-in-seconds?, commit-option?, cmt-timeout-in-seconds?, gen-classes?,
210                bean-pool?, bean-cache?, mdb-resource-adapter?, webservice-endpoint*, session?)>
211 <!--
212 The text in this element matches the ejb-name of the ejb to which it refers in ejb-jar.xml.
213 -->
214 <!ELEMENT ejb-name (#PCDATA)>
215
216 <!--
217 The text in this element is a true/false flag for read only beans.
218 -->
219 <!ELEMENT is-read-only-bean (#PCDATA)>
220
221 <!--
222 This is the root element which binds an ejb reference to a jndi name.
223 -->
224 <!ELEMENT ejb-ref (ejb-ref-name, jndi-name)>
225
226 <!--
227 The ejb ref name locates the name of the ejb reference in the application.
228 -->
229 <!ELEMENT ejb-ref-name (#PCDATA)>
230
231 <!--
232 This element describes runtime information for a CMP EntityBean object for
233 EJB1.1 and EJB2.0 beans.
234 -->
235 <!ELEMENT cmp (mapping-properties?, is-one-one-cmp?, one-one-finders?)>
236
237 <!--
238 This contains the location of the persistence vendor specific O/R mapping file
239 -->
240 <!ELEMENT mapping-properties (#PCDATA)>
241
242 <!--
243 This element in deprecated. It has been left in the DTD for validation purposes.
244 Any value will be ignored by the runtime.
245 -->
246 <!ELEMENT is-one-one-cmp (#PCDATA)>
247
248 <!--
249 This root element contains the finders for CMP 1.1.
250 -->
251 <!ELEMENT one-one-finders (finder+ )>
252
253 <!--
254 This root element contains the finder for CMP 1.1 with a method-name and query parameters
255 -->
256 <!ELEMENT finder (method-name, query-params?, query-filter?, query-variables?, query-ordering?)>
257
258 <!--
259 This contains the query parameters for CMP 1.1 finder
260 -->
261 <!ELEMENT query-params (#PCDATA)>
262
263 <!--
264 This optional element contains the query filter for CMP 1.1 finder
265 -->
266 <!ELEMENT query-filter (#PCDATA)>
267
268 <!--
269 This optional element contains variables in query expression for CMP 1.1 finder
270 -->
271 <!ELEMENT query-variables (#PCDATA)>
272
273 <!--
274 This optional element contains the ordering specification for CMP 1.1 finder.
275 -->
276
277 <!ELEMENT query-ordering (#PCDATA)>
278
279 <!--
280 This element identifies the database and the policy for processing CMP beans
281 storage. The jndi-name element identifies either the persistence-manager-
282 factory-resource or the jdbc-resource as defined in the server configuration.
283 -->
284 <!ELEMENT cmp-resource (jndi-name, default-resource-principal?, property*,
285         create-tables-at-deploy?, drop-tables-at-undeploy?,
286         database-vendor-name?, schema-generator-properties?)>
287
288 <!--
289 This element contains the override properties for the schema generation
290 from CMP beans in this module.
291 -->
292 <!ELEMENT schema-generator-properties (property*) >
293
294 <!--
295 This element specifies whether automatic creation of tables for the CMP beans
296 is done at module deployment. Acceptable values are true or false
297 -->
298 <!ELEMENT create-tables-at-deploy ( #PCDATA )>
299
300 <!--
301 This element specifies whether automatic dropping of tables for the CMP beans
302 is done at module undeployment. Acceptabel values are true of false
303 -->
304 <!ELEMENT drop-tables-at-undeploy ( #PCDATA )>
305
306 <!--
307 This element specifies the database vendor name for ddl files generated at
308 module deployment. Default is SQL92.
309 -->
310 <!ELEMENT database-vendor-name ( #PCDATA )>
311
312 <!--
313 This element specifies the connection factory associated with a message-driven bean.
314 -->
315 <!ELEMENT mdb-connection-factory (jndi-name, default-resource-principal?)>
316
317 <!--
318 This node holds information about a logical message destination
319 -->
320 <!ELEMENT message-destination (message-destination-name, jndi-name)>
321
322 <!--
323 This node holds the name of a logical message destination
324 -->
325 <!ELEMENT message-destination-name (#PCDATA)>
326
327 <!--
328 Specifies the name of a durable subscription associated with a message-driven bean's
329 destination. Required for a Topic destination, if subscription-durability is set to
330 Durable (in ejb-jar.xml)
331 -->
332 <!ELEMENT jms-durable-subscription-name (#PCDATA)>
333
334 <!--
335 A string value specifies the maximum number of messages to load into a JMS session
336 at one time for a message-driven bean to serve. If not specified, the default is 1.
337 -->
338 <!ELEMENT jms-max-messages-load (#PCDATA)>
339
340 <!--
341 This element contains all the generated class names for a bean.
342 -->
343 <!ELEMENT gen-classes ( remote-impl?, local-impl?, remote-home-impl?, local-home-impl? )>
344
345 <!--
346 This contains the fully qualified class name of the generated EJBObject impl class.
347 -->
348 <!ELEMENT remote-impl (#PCDATA)>
349
350 <!--
351 This contains the fully qualified class name of the generated EJBLocalObject impl class.
352 -->
353 <!ELEMENT local-impl (#PCDATA)>
354
355 <!--
356 This contains the fully qualified class name of the generated EJBHome impl class.
357 -->
358 <!ELEMENT remote-home-impl (#PCDATA)>
359
360 <!--
361 This contains the fully qualified class name of the generated EJBLocalHome impl class.
362 -->
363 <!ELEMENT local-home-impl (#PCDATA)>
364
365 <!--
366 This contains the bean cache properties. Used only for entity beans and stateful session beans
367 -->
368 <!ELEMENT bean-cache (max-cache-size?, resize-quantity?, is-cache-overflow-allowed?, cache-idle-timeout-in-seconds?, removal-timeout-in-seconds?, victim-selection-policy?)>
369
370 <!--
371 max-cache-size defines the maximum number of beans in the cache. Should be greater than 1.
372 Default is 512.
373 -->
374 <!ELEMENT max-cache-size (#PCDATA)>
375
376 <!--
377 is-cache-overflow-allowed is a boolean which indicates if the cache size is a hard limit or not.
378 Default is true i.e there is no hard limit. max-cache-size is a hint to the cache implementation.
379 -->
380 <!ELEMENT is-cache-overflow-allowed (#PCDATA)>
381
382 <!--
383 cache-idle-timeout-in-seconds specifies the maximum time that a stateful session bean or
384 entity bean is allowed to be idle in the cache. After this time, the bean is passivated
385 to backup store. This is a hint to server. Default value for cache-idle-timeout-in-seconds
386 is 600 seconds.
387 -->
388 <!ELEMENT cache-idle-timeout-in-seconds (#PCDATA)>
389
390
391 <!--
392 The amount of time that the bean remains passivated (i.e. idle in the backup store) is
393 controlled by removal-timeout-in-seconds parameter. Note that if a bean was not accessed beyond
394 removal-timeout-in-seconds, then it will be removed from the backup store and hence will not
395 be accessible to the client. The Default value for removal-timeout-in-seconds is 60min.
396 -->
397 <!ELEMENT removal-timeout-in-seconds (#PCDATA)>
398
399 <!--
400 victim-selection-policy specifies the algorithm to use to pick victims.
401 Possible values are FIFO | LRU | NRU. Default is NRU, which is actually
402 pseudo-random selection policy.
403 -->
404 <!ELEMENT victim-selection-policy (#PCDATA)>
405
406 <!--
407 bean-pool is a root element containing the bean pool properties. Used only for stateless session
408 bean and message-driven bean pools.
409 -->
410 <!ELEMENT bean-pool (steady-pool-size?, resize-quantity?, max-pool-size?, pool-idle-timeout-in-seconds?, max-wait-time-in-millis?)>
411
412 <!--
413 steady-pool-size specified the initial and minimum number of beans that must be maintained in the pool.
414 Valid values are from 0 to MAX_INTEGER.
415 -->
416 <!ELEMENT steady-pool-size (#PCDATA)>
417
418 <!--
419 resize-quantity specifies the number of beans to be created or deleted when the pool
420 or cache is being serviced by the server. Valid values are from 0 to MAX_INTEGER and
421 subject to maximum size limit). Default is 16.
422 -->
423 <!ELEMENT resize-quantity (#PCDATA)>
424
425 <!--
426 max-pool-size speifies the maximum pool size. Valid values are from 0 to MAX_INTEGER.
427 Default is 64.
428 -->
429 <!ELEMENT max-pool-size (#PCDATA)>
430
431 <!--
432 pool-idle-timeout-in-seconds specifies the maximum time that a stateless session bean or
433 message-driven bean is allowed to be idle in the pool. After this time, the bean is
434 passivated to backup store. This is a hint to server. Default value for
435 pool-idle-timeout-in-seconds is 600 seconds.
436 -->
437 <!ELEMENT pool-idle-timeout-in-seconds (#PCDATA)>
438
439 <!--
440 A string field whose valid values are either "B", or "C". Default is "B"
441 -->
442 <!ELEMENT commit-option (#PCDATA)>
443
444 <!--
445 Specifies the timeout for transactions started by the container. This value must be greater than zero, else it will be ignored by the container.
446 -->
447 <!ELEMENT cmt-timeout-in-seconds (#PCDATA)>
448
449 <!--
450 Specifies the maximum time that the caller is willing to wait to get a bean from the pool.
451 Wait time is infinite, if the value specified is 0. Deprecated.
452 -->
453 <!ELEMENT max-wait-time-in-millis (#PCDATA)>
454
455 <!--
456 refresh-period-in-seconds specifies the rate at which the read-only-bean must be refreshed
457 from the data source. 0 (never refreshed) and positive (refreshed at specified intervals).
458 Specified value is a hint to the container. Default is 600 seconds.
459 -->
460 <!ELEMENT refresh-period-in-seconds (#PCDATA)>
461
462 <!--
463 Specifies the jndi name string.
464 -->
465 <!ELEMENT jndi-name (#PCDATA)>
466
467 <!--
468 This text nodes holds a name string.
469 -->
470 <!ELEMENT name (#PCDATA)>
471
472 <!--
473 This element holds password text.
474 -->
475 <!ELEMENT password (#PCDATA)>
476
477 <!--
478 This node describes a username on the platform.
479 -->
480 <!ELEMENT principal (name)>
481
482 <!--
483 security-role-mapping element maps the user principal or group
484 to a different principal on the server.
485 -->
486 <!ELEMENT security-role-mapping (role-name, (principal-name | group-name)+)>
487
488 <!--
489 role-name specifies an accepted role
490 -->
491 <!ELEMENT role-name (#PCDATA)>
492
493 <!--
494 principal-name specifies a valid principal
495 -->
496 <!ELEMENT principal-name (#PCDATA)>
497
498 <!--
499 group-name specifies a valid group name
500 -->
501 <!ELEMENT group-name (#PCDATA)>
502
503 <!--
504 The name of a resource reference.
505 -->
506 <!ELEMENT res-ref-name (#PCDATA)>
507
508 <!--
509 resource-env-ref holds all the runtime bindings of a resource env reference.
510 -->
511 <!ELEMENT resource-env-ref ( resource-env-ref-name, jndi-name )>
512
513 <!--
514 name of a resource env reference.
515 -->
516 <!ELEMENT resource-env-ref-name (#PCDATA)>
517
518 <!--
519 resource-ref node holds all the runtime bindings of a resource reference.
520 -->
521 <!ELEMENT resource-ref (res-ref-name, jndi-name, default-resource-principal?)>
522
523 <!--
524 user name and password to be used when none are specified while accesing a resource
525 -->
526 <!ELEMENT default-resource-principal ( name, password)>
527
528 <!--
529 ior-security-config element describes the security configuration information for the IOR.
530 -->
531 <!ELEMENT ior-security-config ( transport-config? , as-context?, sas-context? )>
532
533 <!--
534 transport-config is the root element for security between the end points
535 -->
536 <!ELEMENT transport-config ( integrity, confidentiality, establish-trust-in-target, establish-trust-in-client )>
537
538 <!--
539 integrity element indicates if the server (target) supports integrity protected messages.
540 The valid values are NONE, SUPPORTED or REQUIRED
541 -->
542 <!ELEMENT integrity ( #PCDATA)>
543
544 <!--
545 confidentiality element indicates if the server (target) supports privacy protected
546 messages. The values are NONE, SUPPORTED or REQUIRED
547 -->
548 <!ELEMENT confidentiality ( #PCDATA)>
549
550 <!--
551 establish-trust-in-target element indicates if the target is capable of authenticating to a client.
552 The values are NONE or SUPPORTED.
553 -->
554 <!ELEMENT establish-trust-in-target ( #PCDATA)>
555
556 <!--
557 establish-trust-in-client element indicates if the target is capable of authenticating a client. The
558 values are NONE, SUPPORTED or REQUIRED.
559 -->
560 <!ELEMENT establish-trust-in-client ( #PCDATA)>
561
562 <!--
563 as-context (CSIv2 authentication service) is the element describing the authentication
564 mechanism that will be used to authenticate the client. If specified it will be the
565 username-password mechanism.
566 -->
567 <!ELEMENT as-context ( auth-method, realm, required )>
568
569 <!--
570 required element specifies if the authentication method specified is required
571 to be used for client authentication. If so the EstablishTrustInClient bit
572 will be set in the target_requires field of the AS_Context. The element value
573 is either true or false.
574 -->
575 <!ELEMENT required ( #PCDATA )>
576
577 <!--
578 auth-method element describes the authentication method. The only supported value
579 is USERNAME_PASSWORD
580 -->
581 <!ELEMENT auth-method ( #PCDATA )>
582
583 <!--
584 realm element describes the realm in which the user is authenticated. Must be
585 a valid realm that is registered in server configuration.
586 -->
587 <!ELEMENT realm ( #PCDATA )>
588
589 <!--
590 sas-context (related to CSIv2 security attribute service) element describes
591 the sas-context fields.
592 -->
593 <!ELEMENT sas-context ( caller-propagation )>
594
595 <!--
596 caller-propagation element indicates if the target will accept propagated caller identities
597 The values are NONE or SUPPORTED.
598 -->
599 <!ELEMENT caller-propagation ( #PCDATA) >
600
601 <!--
602 pass-by-reference elements controls use of Pass by Reference semantics.
603 EJB spec requires pass by value, which will be the default mode of operation.
604 This can be set to true for non-compliant operation and possibly higher
605 performance. For a stand-alone server, this can be used. By setting a similarly
606 named element at sun-application.xml, it can apply to all the enclosed ejb
607 modules. Allowed values are true and false. Default will be false.
608  -->
609 <!ELEMENT pass-by-reference (#PCDATA)>
610
611 <!--
612 PM descriptors contain one or more pm descriptors, but only one of them must
613 be in use at any given time. If not specified, the Sun ONE CMP is used.
614 -->
615 <!ELEMENT pm-descriptors ( pm-descriptor+, pm-inuse)>
616
617 <!--
618 pm-descriptor describes the pluggable vendor implementation for the CMP
619 support of the CMP entity beans in this module.
620 -->
621 <!ELEMENT pm-descriptor ( pm-identifier, pm-version, pm-config?, pm-class-generator, pm-mapping-factory?)>
622
623 <!--
624 pm-identifier element identifies the vendor who provides the CMP implementation
625 -->
626 <!ELEMENT pm-identifier (#PCDATA)>
627
628 <!--
629 pm-version further specifies which version of PM vendor product to be used
630 -->
631 <!ELEMENT pm-version (#PCDATA)>
632
633 <!--
634 pm-config specifies the vendor specific config file to be used
635 -->
636 <!ELEMENT pm-config (#PCDATA)>
637
638 <!--
639 pm-class-generator specifies the vendor specific class generator to be used
640 at the module deploymant time. This is the name of the class specific to this
641 vendor.
642 -->
643 <!ELEMENT pm-class-generator (#PCDATA)>
644
645 <!--
646 pm-mapping-factory specifies the vendor specific mapping factory
647 This is the name of the class specific to a vendor.
648 -->
649 <!ELEMENT pm-mapping-factory (#PCDATA)>
650
651 <!--
652 pm-inuse specifies which CMP vendor is used.
653 -->
654 <!ELEMENT pm-inuse (pm-identifier, pm-version)>
655
656
657 <!--
658 This holds the runtime configuration properties of the message-driven bean
659 in its operation environment. For example, this may include information
660 about the name of a physical JMS destination etc.
661 Defined this way to match the activation-config on the standard
662 deployment descriptor for message-driven bean.
663 -->
664 <!ELEMENT activation-config ( description?, activation-config-property+ ) >
665
666 <!--
667 provide an element description
668 -->
669 <!ELEMENT description (#PCDATA)>
670
671 <!--
672 This hold a particular activation config propery name-value pair
673 -->
674 <!ELEMENT activation-config-property (
675   activation-config-property-name, activation-config-property-value ) >
676
677 <!--
678 This holds the name of a runtime activation-config property
679 -->
680 <!ELEMENT activation-config-property-name ( #PCDATA ) >
681
682 <!--
683 This holds the value of a runtime activation-config property
684 -->
685 <!ELEMENT activation-config-property-value ( #PCDATA ) >
686
687 <!--
688 This node holds the module ID of the resource adapter that
689 is responsible for delivering messages to the message-driven
690 bean, as well as the runtime configuration information for
691 the mdb.
692 -->
693 <!ELEMENT mdb-resource-adapter ( resource-adapter-mid, activation-config? )>
694
695 <!--
696 This node holds the module ID of the resource adapter that is responsible
697 for delivering messages to the message-driven bean.
698 -->
699 <!ELEMENT resource-adapter-mid ( #PCDATA ) >
700
701 <!--
702 Generic name-value pairs property
703 -->
704 <!ELEMENT property ( name, value ) >
705
706 <!--
707 This text nodes holds a value string.
708 -->
709 <!ELEMENT value (#PCDATA)>
710
711
712
713 <!--
714             W E B S E R V I C E S
715 -->
716 <!--
717 Information about a web service endpoint.
718 -->
719 <!ELEMENT webservice-endpoint ( port-component-name, endpoint-address-uri?, login-config?, transport-guarantee?, service-qname?, tie-class?, servlet-impl-class? )>
720
721 <!--
722 Unique name of a port component within a module
723 -->
724 <!ELEMENT port-component-name ( #PCDATA )>
725
726 <!--
727 Relative path combined with web server root to form fully qualified
728 endpoint address for a web service endpoint. For servlet endpoints, this
729 value is relative to the servlet's web application context root. In
730 all cases, this value must be a fixed pattern(i.e. no "*" allowed).
731 If the web service endpoint is a servlet that only implements a single
732 endpoint has only one url-pattern, it is not necessary to set
733 this value since the container can derive it from web.xml.
734 -->
735 <!ELEMENT endpoint-address-uri ( #PCDATA )>
736
737 <!--
738 The name of tie implementation class for a port-component. This is
739 not specified by the deployer. It is derived during deployment.
740 -->
741 <!ELEMENT tie-class (#PCDATA)>
742
743 <!--
744 The service-qname element declares the specific WSDL service
745 element that is being refered to. It is not set by the deployer.
746 It is derived during deployment.
747 -->
748 <!ELEMENT service-qname (namespaceURI, localpart)>
749
750 <!--
751 The localpart element indicates the local part of a QNAME.
752 -->
753 <!ELEMENT localpart (#PCDATA)>
754
755 <!--
756 The namespaceURI element indicates a URI.
757 -->
758 <!ELEMENT namespaceURI (#PCDATA)>
759
760 <!--
761 Optional authentication configuration for an EJB web service endpoint.
762 Not needed for servet web service endpoints. Their security configuration
763 is contained in the standard web application descriptor.
764 -->
765 <!ELEMENT login-config ( auth-method )>
766
767 <!--
768 Name of application-written servlet impl class contained in deployed war.
769 This is not set by the deployer. It is derived by the container
770 during deployment.
771 -->
772 <!ELEMENT servlet-impl-class (#PCDATA)>
773
774 <!--
775 Runtime settings for a web service reference. In the simplest case,
776 there is no runtime information required for a service ref. Runtime info
777 is only needed in the following cases :
778  * to define the port that should be used to resolve a container-managed port
779  * to define default Stub/Call property settings for Stub objects
780  * to define the URL of a final WSDL document to be used instead of
781 the one packaged with a service-ref
782 -->
783 <!ELEMENT service-ref ( service-ref-name, port-info*, call-property*, wsdl-override?, service-impl-class?, service-qname? )>
784
785 <!--
786 Coded name (relative to java:comp/env) for a service-reference
787 -->
788 <!ELEMENT service-ref-name ( #PCDATA )>
789
790 <!--
791 Name of generated service implementation class. This is not set by the
792 deployer. It is derived during deployment.
793 -->
794 <!ELEMENT service-impl-class ( #PCDATA )>
795
796 <!--
797 Information for a port within a service-reference.
798
799 Either service-endpoint-interface or wsdl-port or both
800 (service-endpoint-interface and wsdl-port) should be specified.
801
802 If both are specified, wsdl-port represents the
803 port the container should choose for container-managed port selection.
804
805 The same wsdl-port value must not appear in
806 more than one port-info entry within the same service-ref.
807
808 If a particular service-endpoint-interface is using container-managed port
809 selection, it must not appear in more than one port-info entry
810 within the same service-ref.
811
812 -->
813 <!ELEMENT port-info ( service-endpoint-interface?, wsdl-port?, stub-property*, call-property* )>
814
815 <!--
816 Fully qualified name of service endpoint interface
817 -->
818 <!ELEMENT service-endpoint-interface ( #PCDATA )>
819
820 <!--
821 Specifies that the communication between client and server should
822 be NONE, INTEGRAL, or CONFIDENTIAL. NONE means that the application
823 does not require any transport guarantees. A value of INTEGRAL means
824 that the application requires that the data sent between the client
825 and server be sent in such a way that it can't be changed in transit.
826 CONFIDENTIAL means that the application requires that the data be
827 transmitted in a fashion that prevents other entities from observing
828 the contents of the transmission. In most cases, the presence of the
829 INTEGRAL or CONFIDENTIAL flag will indicate that the use of SSL is
830 required.
831 -->
832 <!ELEMENT transport-guarantee ( #PCDATA )>
833
834
835 <!--
836 Port used in port-info.
837 -->
838 <!ELEMENT wsdl-port ( namespaceURI, localpart )>
839
840 <!--
841 JAXRPC property values that should be set on a stub before it's returned to
842 to the web service client. The property names can be any properties supported
843 by the JAXRPC Stub implementation. See javadoc for javax.xml.rpc.Stub
844 -->
845 <!ELEMENT stub-property ( name, value )>
846
847 <!--
848 JAXRPC property values that should be set on a Call object before it's
849 returned to the web service client. The property names can be any
850 properties supported by the JAXRPC Call implementation. See javadoc
851 for javax.xml.rpc.Call
852 -->
853 <!ELEMENT call-property ( name, value )>
854
855 <!--
856 Runtime information about a web service.
857
858 wsdl-publish-location is optionally used to specify
859 where the final wsdl and any dependent files should be stored. This location
860 resides on the file system from which deployment is initiated.
861
862 -->
863 <!ELEMENT webservice-description ( webservice-description-name, wsdl-publish-location? )>
864
865 <!--
866 Unique name of a webservice within a module
867 -->
868 <!ELEMENT webservice-description-name ( #PCDATA )>
869
870 <!--
871 This is a valid URL pointing to a final WSDL document. It is optional.
872 If specified, the WSDL document at this URL will be used during
873 deployment instead of the WSDL document associated with the
874 service-ref in the standard deployment descriptor.
875
876 Examples :
877
878   // available via HTTP
879   <wsdl-override>http://localhost:8000/myservice/myport?WSDL</wsdl-override>
880
881   // in a file
882   <wsdl-override>file:/home/user1/myfinalwsdl.wsdl</wsdl-override>
883
884 -->
885 <!ELEMENT wsdl-override ( #PCDATA )>
886
887 <!--
888 file: URL of a directory to which a web-service-description's wsdl should be
889 published during deployment. Any required files will be published to this
890 directory, preserving their location relative to the module-specific
891 wsdl directory(META-INF/wsdl or WEB-INF/wsdl).
892
893 Example :
894
895   For an ejb.jar whose webservices.xml wsdl-file element contains
896     META-INF/wsdl/a/Foo.wsdl
897
898   <wsdl-publish-location>file:/home/user1/publish
899   </wsdl-publish-location>
900
901   The final wsdl will be stored in /home/user1/publish/a/Foo.wsdl
902
903 -->
904 <!ELEMENT wsdl-publish-location ( #PCDATA )>
905
906
907 <!--
908             S E / E E V e r s i o n r e l a t e d f i e l d s
909 -->
910 <!--
911 The session element specifies a Stateful enterprise bean's check pointing mechanism properties
912 Used in: ejb
913 -->
914 <!ELEMENT session ( checkpoint-location?, quick-checkpoint?, checkpointed-methods? )>
915
916 <!--
917 The checkpoint-location element specifies a Stateful enterprise bean's check pointing mechanism type. The checkpoint-location element must be one of the following:
918 <checkpoint-location>end-of-transaction</checkpoint-location>
919 <checkpoint-location>end-of-method</checkpoint-location>
920 <checkpoint-location>end-of-transaction-or-method</checkpoint-location>
921 Default value: end-of-transaction
922 Used in: session
923 -->
924 <!ELEMENT checkpoint-location (#PCDATA)>
925
926
927 <!--
928 The quick-checkpoint element specifies an enterprise bean's if ejbPassivate/ejbActivate must be called or not during check pointing.
929 The checkpointing-type element must be one of the two following:
930         <quick-checkpoint>true</quick-checkpoint>
931         <quick-checkpoint>false</quick-checkpoint>
932 Dafault: true
933 Used in: session
934 -->
935 <!ELEMENT quick-checkpoint (#PCDATA)>
936
937 <!--
938 This element specifies which methods require checkpointing. The methods specified in here, will be checkpointed, when the checkpoint-location is set to end-of-method.
939
940 Default: none or all methods if failover is enabled at application or cluster/instance levels
941 Used in: session
942 -->
943 <!ELEMENT checkpointed-methods (description?, method+)>
944
945 <!--
946
947 Method as defined in the standard deployment descriptors.
948
949 Used in : checkpointed-methods
950 -->
951 <!ELEMENT method (description?, method-intf?, method-name,
952 method-params?)>
953
954 <!--
955
956 The method-intf element allows a method element to differentiate
957 between the methods with the same name and signature that are multiply
958 defined across the component and home interfaces (e.g, in both an
959 enterprise bean's remote and local interfaces; in both an enterprise bean's
960 home and remote interfaces, etc.)
961
962 The method-intf element must be one of the following:
963
964     <method-intf>Home</method-intf>
965     <method-intf>Remote</method-intf>
966     <method-intf>LocalHome</method-intf>
967     <method-intf>Local</method-intf>
968
969 Used in: method
970 -->
971 <!ELEMENT method-intf (#PCDATA)>
972
973 <!--
974 The method-name element contains a name of an enterprise bean method
975 or the asterisk (*) character. The asterisk is used when the element
976 denotes all the methods of an enterprise bean's component and home
977 interfaces.
978
979 Used in: method, query-method
980 -->
981 <!ELEMENT method-name (#PCDATA)>
982
983 <!--
984 The method-param element contains the fully-qualified Java type name
985 of a method parameter.
986
987 Used in: method-params
988 -->
989 <!ELEMENT method-param (#PCDATA)>
990
991 <!--
992 The method-params element contains a list of the fully-qualified Java
993 type names of the method parameters.
994
995 Used in: method, query-method
996 -->
997 <!ELEMENT method-params (method-param*)>
998
999
1000
1001*/

1002
Popular Tags