Source Code Cross Referenced for WorkManager.java in  » J2EE » openejb3 » org » apache » openejb » jee » wls » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » J2EE » openejb3 » org.apache.openejb.jee.wls 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /**
002:         * Licensed to the Apache Software Foundation (ASF) under one or more
003:         * contributor license agreements.  See the NOTICE file distributed with
004:         * this work for additional information regarding copyright ownership.
005:         * The ASF licenses this file to You under the Apache License, Version 2.0
006:         * (the "License"); you may not use this file except in compliance with
007:         * the License.  You may obtain a copy of the License at
008:         *
009:         *     http://www.apache.org/licenses/LICENSE-2.0
010:         *
011:         * Unless required by applicable law or agreed to in writing, software
012:         * distributed under the License is distributed on an "AS IS" BASIS,
013:         * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
014:         * See the License for the specific language governing permissions and
015:         * limitations under the License.
016:         */package org.apache.openejb.jee.wls;
017:
018:        import javax.xml.bind.annotation.XmlAccessType;
019:        import javax.xml.bind.annotation.XmlAccessorType;
020:        import javax.xml.bind.annotation.XmlAttribute;
021:        import javax.xml.bind.annotation.XmlElement;
022:        import javax.xml.bind.annotation.XmlID;
023:        import javax.xml.bind.annotation.XmlType;
024:        import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
025:        import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
026:
027:        /**
028:         * <p>Java class for work-manager complex type.
029:         * 
030:         * <p>The following schema fragment specifies the expected content contained within this class.
031:         * 
032:         * <pre>
033:         * &lt;complexType name="work-manager">
034:         *   &lt;complexContent>
035:         *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
036:         *       &lt;sequence>
037:         *         &lt;element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
038:         *         &lt;choice minOccurs="0">
039:         *           &lt;element name="response-time-request-class" type="{http://www.bea.com/ns/weblogic/90}response-time-request-class"/>
040:         *           &lt;element name="fair-share-request-class" type="{http://www.bea.com/ns/weblogic/90}fair-share-request-class"/>
041:         *           &lt;element name="context-request-class" type="{http://www.bea.com/ns/weblogic/90}context-request-class"/>
042:         *           &lt;element name="request-class-name" type="{http://www.w3.org/2001/XMLSchema}string"/>
043:         *         &lt;/choice>
044:         *         &lt;choice minOccurs="0">
045:         *           &lt;element name="min-threads-constraint" type="{http://www.bea.com/ns/weblogic/90}min-threads-constraint"/>
046:         *           &lt;element name="min-threads-constraint-name" type="{http://www.w3.org/2001/XMLSchema}string"/>
047:         *         &lt;/choice>
048:         *         &lt;choice minOccurs="0">
049:         *           &lt;element name="max-threads-constraint" type="{http://www.bea.com/ns/weblogic/90}max-threads-constraint"/>
050:         *           &lt;element name="max-threads-constraint-name" type="{http://www.w3.org/2001/XMLSchema}string"/>
051:         *         &lt;/choice>
052:         *         &lt;choice minOccurs="0">
053:         *           &lt;element name="capacity" type="{http://www.bea.com/ns/weblogic/90}capacity"/>
054:         *           &lt;element name="capacity-name" type="{http://www.w3.org/2001/XMLSchema}string"/>
055:         *         &lt;/choice>
056:         *         &lt;choice minOccurs="0">
057:         *           &lt;element name="work-manager-shutdown-trigger" type="{http://www.bea.com/ns/weblogic/90}work-manager-shutdown-trigger"/>
058:         *           &lt;element name="ignore-stuck-threads" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
059:         *         &lt;/choice>
060:         *       &lt;/sequence>
061:         *       &lt;attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
062:         *     &lt;/restriction>
063:         *   &lt;/complexContent>
064:         * &lt;/complexType>
065:         * </pre>
066:         * 
067:         * 
068:         */
069:        @XmlAccessorType(XmlAccessType.FIELD)
070:        @XmlType(name="work-manager",propOrder={"name","responseTimeRequestClass","fairShareRequestClass","contextRequestClass","requestClassName","minThreadsConstraint","minThreadsConstraintName","maxThreadsConstraint","maxThreadsConstraintName","capacity","capacityName","workManagerShutdownTrigger","ignoreStuckThreads"})
071:        public class WorkManager {
072:
073:            @XmlElement(required=true)
074:            protected String name;
075:            @XmlElement(name="response-time-request-class")
076:            protected ResponseTimeRequestClass responseTimeRequestClass;
077:            @XmlElement(name="fair-share-request-class")
078:            protected FairShareRequestClass fairShareRequestClass;
079:            @XmlElement(name="context-request-class")
080:            protected ContextRequestClass contextRequestClass;
081:            @XmlElement(name="request-class-name")
082:            protected String requestClassName;
083:            @XmlElement(name="min-threads-constraint")
084:            protected MinThreadsConstraint minThreadsConstraint;
085:            @XmlElement(name="min-threads-constraint-name")
086:            protected String minThreadsConstraintName;
087:            @XmlElement(name="max-threads-constraint")
088:            protected MaxThreadsConstraint maxThreadsConstraint;
089:            @XmlElement(name="max-threads-constraint-name")
090:            protected String maxThreadsConstraintName;
091:            protected Capacity capacity;
092:            @XmlElement(name="capacity-name")
093:            protected String capacityName;
094:            @XmlElement(name="work-manager-shutdown-trigger")
095:            protected WorkManagerShutdownTrigger workManagerShutdownTrigger;
096:            @XmlElement(name="ignore-stuck-threads")
097:            protected Boolean ignoreStuckThreads;
098:            @XmlAttribute
099:            @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
100:            @XmlID
101:            protected String id;
102:
103:            /**
104:             * Gets the value of the name property.
105:             * 
106:             * @return
107:             *     possible object is
108:             *     {@link String }
109:             *     
110:             */
111:            public String getName() {
112:                return name;
113:            }
114:
115:            /**
116:             * Sets the value of the name property.
117:             * 
118:             * @param value
119:             *     allowed object is
120:             *     {@link String }
121:             *     
122:             */
123:            public void setName(String value) {
124:                this .name = value;
125:            }
126:
127:            /**
128:             * Gets the value of the responseTimeRequestClass property.
129:             * 
130:             * @return
131:             *     possible object is
132:             *     {@link ResponseTimeRequestClass }
133:             *     
134:             */
135:            public ResponseTimeRequestClass getResponseTimeRequestClass() {
136:                return responseTimeRequestClass;
137:            }
138:
139:            /**
140:             * Sets the value of the responseTimeRequestClass property.
141:             * 
142:             * @param value
143:             *     allowed object is
144:             *     {@link ResponseTimeRequestClass }
145:             *     
146:             */
147:            public void setResponseTimeRequestClass(
148:                    ResponseTimeRequestClass value) {
149:                this .responseTimeRequestClass = value;
150:            }
151:
152:            /**
153:             * Gets the value of the fairShareRequestClass property.
154:             * 
155:             * @return
156:             *     possible object is
157:             *     {@link FairShareRequestClass }
158:             *     
159:             */
160:            public FairShareRequestClass getFairShareRequestClass() {
161:                return fairShareRequestClass;
162:            }
163:
164:            /**
165:             * Sets the value of the fairShareRequestClass property.
166:             * 
167:             * @param value
168:             *     allowed object is
169:             *     {@link FairShareRequestClass }
170:             *     
171:             */
172:            public void setFairShareRequestClass(FairShareRequestClass value) {
173:                this .fairShareRequestClass = value;
174:            }
175:
176:            /**
177:             * Gets the value of the contextRequestClass property.
178:             * 
179:             * @return
180:             *     possible object is
181:             *     {@link ContextRequestClass }
182:             *     
183:             */
184:            public ContextRequestClass getContextRequestClass() {
185:                return contextRequestClass;
186:            }
187:
188:            /**
189:             * Sets the value of the contextRequestClass property.
190:             * 
191:             * @param value
192:             *     allowed object is
193:             *     {@link ContextRequestClass }
194:             *     
195:             */
196:            public void setContextRequestClass(ContextRequestClass value) {
197:                this .contextRequestClass = value;
198:            }
199:
200:            /**
201:             * Gets the value of the requestClassName property.
202:             * 
203:             * @return
204:             *     possible object is
205:             *     {@link String }
206:             *     
207:             */
208:            public String getRequestClassName() {
209:                return requestClassName;
210:            }
211:
212:            /**
213:             * Sets the value of the requestClassName property.
214:             * 
215:             * @param value
216:             *     allowed object is
217:             *     {@link String }
218:             *     
219:             */
220:            public void setRequestClassName(String value) {
221:                this .requestClassName = value;
222:            }
223:
224:            /**
225:             * Gets the value of the minThreadsConstraint property.
226:             * 
227:             * @return
228:             *     possible object is
229:             *     {@link MinThreadsConstraint }
230:             *     
231:             */
232:            public MinThreadsConstraint getMinThreadsConstraint() {
233:                return minThreadsConstraint;
234:            }
235:
236:            /**
237:             * Sets the value of the minThreadsConstraint property.
238:             * 
239:             * @param value
240:             *     allowed object is
241:             *     {@link MinThreadsConstraint }
242:             *     
243:             */
244:            public void setMinThreadsConstraint(MinThreadsConstraint value) {
245:                this .minThreadsConstraint = value;
246:            }
247:
248:            /**
249:             * Gets the value of the minThreadsConstraintName property.
250:             * 
251:             * @return
252:             *     possible object is
253:             *     {@link String }
254:             *     
255:             */
256:            public String getMinThreadsConstraintName() {
257:                return minThreadsConstraintName;
258:            }
259:
260:            /**
261:             * Sets the value of the minThreadsConstraintName property.
262:             * 
263:             * @param value
264:             *     allowed object is
265:             *     {@link String }
266:             *     
267:             */
268:            public void setMinThreadsConstraintName(String value) {
269:                this .minThreadsConstraintName = value;
270:            }
271:
272:            /**
273:             * Gets the value of the maxThreadsConstraint property.
274:             * 
275:             * @return
276:             *     possible object is
277:             *     {@link MaxThreadsConstraint }
278:             *     
279:             */
280:            public MaxThreadsConstraint getMaxThreadsConstraint() {
281:                return maxThreadsConstraint;
282:            }
283:
284:            /**
285:             * Sets the value of the maxThreadsConstraint property.
286:             * 
287:             * @param value
288:             *     allowed object is
289:             *     {@link MaxThreadsConstraint }
290:             *     
291:             */
292:            public void setMaxThreadsConstraint(MaxThreadsConstraint value) {
293:                this .maxThreadsConstraint = value;
294:            }
295:
296:            /**
297:             * Gets the value of the maxThreadsConstraintName property.
298:             * 
299:             * @return
300:             *     possible object is
301:             *     {@link String }
302:             *     
303:             */
304:            public String getMaxThreadsConstraintName() {
305:                return maxThreadsConstraintName;
306:            }
307:
308:            /**
309:             * Sets the value of the maxThreadsConstraintName property.
310:             * 
311:             * @param value
312:             *     allowed object is
313:             *     {@link String }
314:             *     
315:             */
316:            public void setMaxThreadsConstraintName(String value) {
317:                this .maxThreadsConstraintName = value;
318:            }
319:
320:            /**
321:             * Gets the value of the capacity property.
322:             * 
323:             * @return
324:             *     possible object is
325:             *     {@link Capacity }
326:             *     
327:             */
328:            public Capacity getCapacity() {
329:                return capacity;
330:            }
331:
332:            /**
333:             * Sets the value of the capacity property.
334:             * 
335:             * @param value
336:             *     allowed object is
337:             *     {@link Capacity }
338:             *     
339:             */
340:            public void setCapacity(Capacity value) {
341:                this .capacity = value;
342:            }
343:
344:            /**
345:             * Gets the value of the capacityName property.
346:             * 
347:             * @return
348:             *     possible object is
349:             *     {@link String }
350:             *     
351:             */
352:            public String getCapacityName() {
353:                return capacityName;
354:            }
355:
356:            /**
357:             * Sets the value of the capacityName property.
358:             * 
359:             * @param value
360:             *     allowed object is
361:             *     {@link String }
362:             *     
363:             */
364:            public void setCapacityName(String value) {
365:                this .capacityName = value;
366:            }
367:
368:            /**
369:             * Gets the value of the workManagerShutdownTrigger property.
370:             * 
371:             * @return
372:             *     possible object is
373:             *     {@link WorkManagerShutdownTrigger }
374:             *     
375:             */
376:            public WorkManagerShutdownTrigger getWorkManagerShutdownTrigger() {
377:                return workManagerShutdownTrigger;
378:            }
379:
380:            /**
381:             * Sets the value of the workManagerShutdownTrigger property.
382:             * 
383:             * @param value
384:             *     allowed object is
385:             *     {@link WorkManagerShutdownTrigger }
386:             *     
387:             */
388:            public void setWorkManagerShutdownTrigger(
389:                    WorkManagerShutdownTrigger value) {
390:                this .workManagerShutdownTrigger = value;
391:            }
392:
393:            /**
394:             * Gets the value of the ignoreStuckThreads property.
395:             * 
396:             * @return
397:             *     possible object is
398:             *     {@link Boolean }
399:             *     
400:             */
401:            public Boolean isIgnoreStuckThreads() {
402:                return ignoreStuckThreads;
403:            }
404:
405:            /**
406:             * Sets the value of the ignoreStuckThreads property.
407:             * 
408:             * @param value
409:             *     allowed object is
410:             *     {@link Boolean }
411:             *     
412:             */
413:            public void setIgnoreStuckThreads(Boolean value) {
414:                this .ignoreStuckThreads = value;
415:            }
416:
417:            /**
418:             * Gets the value of the id property.
419:             * 
420:             * @return
421:             *     possible object is
422:             *     {@link String }
423:             *     
424:             */
425:            public String getId() {
426:                return id;
427:            }
428:
429:            /**
430:             * Sets the value of the id property.
431:             * 
432:             * @param value
433:             *     allowed object is
434:             *     {@link String }
435:             *     
436:             */
437:            public void setId(String value) {
438:                this.id = value;
439:            }
440:
441:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.