KickJava   Java API By Example, From Geeks To Geeks.

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


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 SchemaGeneratorProperties matches the schema element schema-generator-properties
26  *
27  * Generated on Wed Aug 13 10:43:31 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 SchemaGeneratorProperties extends com.sun.enterprise.tools.common.dd.SunBaseBean
40 {
41
42     static Vector comparators = new Vector();
43
44     static public final String JavaDoc PROPERTY = "PropertyElement"; // NOI18N
45

46     public SchemaGeneratorProperties() {
47         this(Common.USE_DEFAULT_VALUES);
48     }
49
50     public SchemaGeneratorProperties(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("property", // NOI18N
55
PROPERTY,
56             Common.TYPE_0_N | Common.TYPE_BEAN | Common.TYPE_KEY,
57             PropertyElement.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, possibly empty
68
public void setPropertyElement(int index, PropertyElement value) {
69         this.setValue(PROPERTY, index, value);
70     }
71
72     //
73
public PropertyElement getPropertyElement(int index) {
74         return (PropertyElement)this.getValue(PROPERTY, index);
75     }
76
77     // This attribute is an array, possibly empty
78
public void setPropertyElement(PropertyElement[] value) {
79         this.setValue(PROPERTY, value);
80     }
81
82     //
83
public PropertyElement[] getPropertyElement() {
84         return (PropertyElement[])this.getValues(PROPERTY);
85     }
86
87     // Return the number of properties
88
public int sizePropertyElement() {
89         return this.size(PROPERTY);
90     }
91
92     // Add a new element returning its index in the list
93
public int addPropertyElement(com.sun.enterprise.tools.common.dd.ejb.PropertyElement value) {
94         return this.addValue(PROPERTY, 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 removePropertyElement(com.sun.enterprise.tools.common.dd.ejb.PropertyElement value) {
102         return this.removeValue(PROPERTY, 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 propertyElement
117
for (int _index = 0; _index < sizePropertyElement(); ++_index) {
118             com.sun.enterprise.tools.common.dd.ejb.PropertyElement element = getPropertyElement(_index);
119             if (element != null) {
120                 element.validate();
121             }
122         }
123     }
124
125     // Dump the content of this bean returning it as a String
126
public void dump(StringBuffer JavaDoc str, String JavaDoc indent){
127         String JavaDoc s;
128         Object JavaDoc o;
129         org.netbeans.modules.schema2beans.BaseBean n;
130         str.append(indent);
131         str.append("PropertyElement["+this.sizePropertyElement()+"]"); // NOI18N
132
for(int i=0; i<this.sizePropertyElement(); i++)
133         {
134             str.append(indent+"\t");
135             str.append("#"+i+":");
136             n = (org.netbeans.modules.schema2beans.BaseBean) this.getPropertyElement(i);
137             if (n != null)
138                 n.dump(str, indent + "\t"); // NOI18N
139
else
140                 str.append(indent+"\tnull"); // NOI18N
141
this.dumpAttributes(PROPERTY, i, str, indent);
142         }
143
144     }
145     public String JavaDoc dumpBeanNode(){
146         StringBuffer JavaDoc str = new StringBuffer JavaDoc();
147         str.append("SchemaGeneratorProperties\n"); // NOI18N
148
this.dump(str, "\n "); // NOI18N
149
return str.toString();
150     }}
151
152 // END_NOI18N
153

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

999
Popular Tags