com.sun.enterprise.config.serverbeans
Interface ThreadPools

All Superinterfaces:
org.jvnet.hk2.config.ConfigBeanProxy, org.jvnet.hk2.component.Injectable

public interface ThreadPools
extends org.jvnet.hk2.config.ConfigBeanProxy, org.jvnet.hk2.component.Injectable


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jvnet.hk2.config.ConfigBeanProxy
org.jvnet.hk2.config.ConfigBeanProxy.Duck
 
Method Summary
 List<com.sun.grizzly.config.dom.ThreadPool> getThreadPool()
          Gets the value of the threadPool property.
 
Methods inherited from interface org.jvnet.hk2.config.ConfigBeanProxy
createChild, deepCopy, getParent, getParent
 
Methods inherited from interface org.jvnet.hk2.component.Injectable
injectedInto
 

Method Detail

getThreadPool

List<com.sun.grizzly.config.dom.ThreadPool> getThreadPool()
Gets the value of the threadPool property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the threadPool property.

For example, to add a new item, do as follows:

    getThreadPool().add(newItem);
 

Objects of the following type(s) are allowed in the list ThreadPool



Copyright © 2012 GlassFish Community. All Rights Reserved.