Executor, ByteBufferPool and
Scheduler, within the lifecycle of a Spring ApplicationContext.
This factory implements InitializingBean and DisposableBean
and is expected typically to be declared as a Spring-managed bean.
| Modifier and Type | Field and Description |
|---|---|
| private ByteBufferPool | |
| private Executor | |
| private Scheduler | |
| private String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | afterPropertiesSet()
Implements org. BeanFactory after it has set all bean properties
and satisfied BeanFactoryAware, ApplicationContextAware etc.
This method allows the bean instance to perform validation of its overall configuration and final initialization when all bean properties have been set. |
| public void | destroy()
Implements org. BeanFactory on destruction of a bean.
|
| public ByteBufferPool | |
| public Executor | |
| public Scheduler | |
| public void | setByteBufferPool(ByteBufferPool
the byteBufferPool)ByteBuffer pool to useConfigure the |
| public void | |
| public void | |
| public void | setThreadPrefix(String
the thread prefix to use threadPrefix)Configure the thread prefix to initialize |
| byteBufferPool | back to summary |
|---|---|
| private ByteBufferPool byteBufferPool
| |
| executor | back to summary |
|---|---|
| private Executor executor
| |
| scheduler | back to summary |
|---|---|
| private Scheduler scheduler
| |
| threadPrefix | back to summary |
|---|---|
| private String threadPrefix | |
| JettyResourceFactory | back to summary |
|---|---|
| public JettyResourceFactory() | |
| afterPropertiesSet | back to summary |
|---|---|
| public void afterPropertiesSet() throws Exception Implements org. Doc from org. Invoked by the containing This method allows the bean instance to perform validation of its overall configuration and final initialization when all bean properties have been set. | |
| destroy | back to summary |
|---|---|
| public void destroy() throws Exception Implements org. Doc from org. Invoked by the containing | |
| getByteBufferPool | back to summary |
|---|---|
| public ByteBufferPool getByteBufferPool() Return the configured
| |
| getExecutor | back to summary |
|---|---|
| public Executor getExecutor() Return the configured
| |
| getScheduler | back to summary |
|---|---|
| public Scheduler getScheduler() Return the configured
| |
| setByteBufferPool | back to summary |
|---|---|
| public void setByteBufferPool(ByteBufferPool byteBufferPool) Configure the By default, initialized with a
| |
| setExecutor | back to summary |
|---|---|
| public void setExecutor(Executor executor) Configure the By default, initialized with a
| |
| setScheduler | back to summary |
|---|---|
| public void setScheduler(Scheduler scheduler) Configure the By default, initialized with a | |
| setThreadPrefix | back to summary |
|---|---|
| public void setThreadPrefix(String threadPrefix) Configure the thread prefix to initialize By default set to "jetty-http".
| |