org.apache.openejb.jee.wls
Class WorkManager

java.lang.Object
  extended by org.apache.openejb.jee.wls.WorkManager

public class WorkManager
extends java.lang.Object

Java class for work-manager complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="work-manager">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <choice minOccurs="0">
           <element name="response-time-request-class" type="{http://www.bea.com/ns/weblogic/90}response-time-request-class"/>
           <element name="fair-share-request-class" type="{http://www.bea.com/ns/weblogic/90}fair-share-request-class"/>
           <element name="context-request-class" type="{http://www.bea.com/ns/weblogic/90}context-request-class"/>
           <element name="request-class-name" type="{http://www.w3.org/2001/XMLSchema}string"/>
         </choice>
         <choice minOccurs="0">
           <element name="min-threads-constraint" type="{http://www.bea.com/ns/weblogic/90}min-threads-constraint"/>
           <element name="min-threads-constraint-name" type="{http://www.w3.org/2001/XMLSchema}string"/>
         </choice>
         <choice minOccurs="0">
           <element name="max-threads-constraint" type="{http://www.bea.com/ns/weblogic/90}max-threads-constraint"/>
           <element name="max-threads-constraint-name" type="{http://www.w3.org/2001/XMLSchema}string"/>
         </choice>
         <choice minOccurs="0">
           <element name="capacity" type="{http://www.bea.com/ns/weblogic/90}capacity"/>
           <element name="capacity-name" type="{http://www.w3.org/2001/XMLSchema}string"/>
         </choice>
         <choice minOccurs="0">
           <element name="work-manager-shutdown-trigger" type="{http://www.bea.com/ns/weblogic/90}work-manager-shutdown-trigger"/>
           <element name="ignore-stuck-threads" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
         </choice>
       </sequence>
       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  Capacity capacity
           
protected  java.lang.String capacityName
           
protected  ContextRequestClass contextRequestClass
           
protected  FairShareRequestClass fairShareRequestClass
           
protected  java.lang.String id
           
protected  java.lang.Boolean ignoreStuckThreads
           
protected  MaxThreadsConstraint maxThreadsConstraint
           
protected  java.lang.String maxThreadsConstraintName
           
protected  MinThreadsConstraint minThreadsConstraint
           
protected  java.lang.String minThreadsConstraintName
           
protected  java.lang.String name
           
protected  java.lang.String requestClassName
           
protected  ResponseTimeRequestClass responseTimeRequestClass
           
protected  WorkManagerShutdownTrigger workManagerShutdownTrigger
           
 
Constructor Summary
WorkManager()
           
 
Method Summary
 Capacity getCapacity()
          Gets the value of the capacity property.
 java.lang.String getCapacityName()
          Gets the value of the capacityName property.
 ContextRequestClass getContextRequestClass()
          Gets the value of the contextRequestClass property.
 FairShareRequestClass getFairShareRequestClass()
          Gets the value of the fairShareRequestClass property.
 java.lang.String getId()
          Gets the value of the id property.
 MaxThreadsConstraint getMaxThreadsConstraint()
          Gets the value of the maxThreadsConstraint property.
 java.lang.String getMaxThreadsConstraintName()
          Gets the value of the maxThreadsConstraintName property.
 MinThreadsConstraint getMinThreadsConstraint()
          Gets the value of the minThreadsConstraint property.
 java.lang.String getMinThreadsConstraintName()
          Gets the value of the minThreadsConstraintName property.
 java.lang.String getName()
          Gets the value of the name property.
 java.lang.String getRequestClassName()
          Gets the value of the requestClassName property.
 ResponseTimeRequestClass getResponseTimeRequestClass()
          Gets the value of the responseTimeRequestClass property.
 WorkManagerShutdownTrigger getWorkManagerShutdownTrigger()
          Gets the value of the workManagerShutdownTrigger property.
 java.lang.Boolean isIgnoreStuckThreads()
          Gets the value of the ignoreStuckThreads property.
 void setCapacity(Capacity value)
          Sets the value of the capacity property.
 void setCapacityName(java.lang.String value)
          Sets the value of the capacityName property.
 void setContextRequestClass(ContextRequestClass value)
          Sets the value of the contextRequestClass property.
 void setFairShareRequestClass(FairShareRequestClass value)
          Sets the value of the fairShareRequestClass property.
 void setId(java.lang.String value)
          Sets the value of the id property.
 void setIgnoreStuckThreads(java.lang.Boolean value)
          Sets the value of the ignoreStuckThreads property.
 void setMaxThreadsConstraint(MaxThreadsConstraint value)
          Sets the value of the maxThreadsConstraint property.
 void setMaxThreadsConstraintName(java.lang.String value)
          Sets the value of the maxThreadsConstraintName property.
 void setMinThreadsConstraint(MinThreadsConstraint value)
          Sets the value of the minThreadsConstraint property.
 void setMinThreadsConstraintName(java.lang.String value)
          Sets the value of the minThreadsConstraintName property.
 void setName(java.lang.String value)
          Sets the value of the name property.
 void setRequestClassName(java.lang.String value)
          Sets the value of the requestClassName property.
 void setResponseTimeRequestClass(ResponseTimeRequestClass value)
          Sets the value of the responseTimeRequestClass property.
 void setWorkManagerShutdownTrigger(WorkManagerShutdownTrigger value)
          Sets the value of the workManagerShutdownTrigger property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected java.lang.String name

responseTimeRequestClass

protected ResponseTimeRequestClass responseTimeRequestClass

fairShareRequestClass

protected FairShareRequestClass fairShareRequestClass

contextRequestClass

protected ContextRequestClass contextRequestClass

requestClassName

protected java.lang.String requestClassName

minThreadsConstraint

protected MinThreadsConstraint minThreadsConstraint

minThreadsConstraintName

protected java.lang.String minThreadsConstraintName

maxThreadsConstraint

protected MaxThreadsConstraint maxThreadsConstraint

maxThreadsConstraintName

protected java.lang.String maxThreadsConstraintName

capacity

protected Capacity capacity

capacityName

protected java.lang.String capacityName

workManagerShutdownTrigger

protected WorkManagerShutdownTrigger workManagerShutdownTrigger

ignoreStuckThreads

protected java.lang.Boolean ignoreStuckThreads

id

protected java.lang.String id
Constructor Detail

WorkManager

public WorkManager()
Method Detail

getName

public java.lang.String getName()
Gets the value of the name property.

Returns:
possible object is String

setName

public void setName(java.lang.String value)
Sets the value of the name property.

Parameters:
value - allowed object is String

getResponseTimeRequestClass

public ResponseTimeRequestClass getResponseTimeRequestClass()
Gets the value of the responseTimeRequestClass property.

Returns:
possible object is ResponseTimeRequestClass

setResponseTimeRequestClass

public void setResponseTimeRequestClass(ResponseTimeRequestClass value)
Sets the value of the responseTimeRequestClass property.

Parameters:
value - allowed object is ResponseTimeRequestClass

getFairShareRequestClass

public FairShareRequestClass getFairShareRequestClass()
Gets the value of the fairShareRequestClass property.

Returns:
possible object is FairShareRequestClass

setFairShareRequestClass

public void setFairShareRequestClass(FairShareRequestClass value)
Sets the value of the fairShareRequestClass property.

Parameters:
value - allowed object is FairShareRequestClass

getContextRequestClass

public ContextRequestClass getContextRequestClass()
Gets the value of the contextRequestClass property.

Returns:
possible object is ContextRequestClass

setContextRequestClass

public void setContextRequestClass(ContextRequestClass value)
Sets the value of the contextRequestClass property.

Parameters:
value - allowed object is ContextRequestClass

getRequestClassName

public java.lang.String getRequestClassName()
Gets the value of the requestClassName property.

Returns:
possible object is String

setRequestClassName

public void setRequestClassName(java.lang.String value)
Sets the value of the requestClassName property.

Parameters:
value - allowed object is String

getMinThreadsConstraint

public MinThreadsConstraint getMinThreadsConstraint()
Gets the value of the minThreadsConstraint property.

Returns:
possible object is MinThreadsConstraint

setMinThreadsConstraint

public void setMinThreadsConstraint(MinThreadsConstraint value)
Sets the value of the minThreadsConstraint property.

Parameters:
value - allowed object is MinThreadsConstraint

getMinThreadsConstraintName

public java.lang.String getMinThreadsConstraintName()
Gets the value of the minThreadsConstraintName property.

Returns:
possible object is String

setMinThreadsConstraintName

public void setMinThreadsConstraintName(java.lang.String value)
Sets the value of the minThreadsConstraintName property.

Parameters:
value - allowed object is String

getMaxThreadsConstraint

public MaxThreadsConstraint getMaxThreadsConstraint()
Gets the value of the maxThreadsConstraint property.

Returns:
possible object is MaxThreadsConstraint

setMaxThreadsConstraint

public void setMaxThreadsConstraint(MaxThreadsConstraint value)
Sets the value of the maxThreadsConstraint property.

Parameters:
value - allowed object is MaxThreadsConstraint

getMaxThreadsConstraintName

public java.lang.String getMaxThreadsConstraintName()
Gets the value of the maxThreadsConstraintName property.

Returns:
possible object is String

setMaxThreadsConstraintName

public void setMaxThreadsConstraintName(java.lang.String value)
Sets the value of the maxThreadsConstraintName property.

Parameters:
value - allowed object is String

getCapacity

public Capacity getCapacity()
Gets the value of the capacity property.

Returns:
possible object is Capacity

setCapacity

public void setCapacity(Capacity value)
Sets the value of the capacity property.

Parameters:
value - allowed object is Capacity

getCapacityName

public java.lang.String getCapacityName()
Gets the value of the capacityName property.

Returns:
possible object is String

setCapacityName

public void setCapacityName(java.lang.String value)
Sets the value of the capacityName property.

Parameters:
value - allowed object is String

getWorkManagerShutdownTrigger

public WorkManagerShutdownTrigger getWorkManagerShutdownTrigger()
Gets the value of the workManagerShutdownTrigger property.

Returns:
possible object is WorkManagerShutdownTrigger

setWorkManagerShutdownTrigger

public void setWorkManagerShutdownTrigger(WorkManagerShutdownTrigger value)
Sets the value of the workManagerShutdownTrigger property.

Parameters:
value - allowed object is WorkManagerShutdownTrigger

isIgnoreStuckThreads

public java.lang.Boolean isIgnoreStuckThreads()
Gets the value of the ignoreStuckThreads property.

Returns:
possible object is Boolean

setIgnoreStuckThreads

public void setIgnoreStuckThreads(java.lang.Boolean value)
Sets the value of the ignoreStuckThreads property.

Parameters:
value - allowed object is Boolean

getId

public java.lang.String getId()
Gets the value of the id property.

Returns:
possible object is String

setId

public void setId(java.lang.String value)
Sets the value of the id property.

Parameters:
value - allowed object is String


Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.