Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.mule.util.pool
Interface ObjectPool

All Superinterfaces:
  Disposable, Initialisable

All Known Subinterfaces:
  LifecyleEnabledObjectPool

All Known Implementing Classes:
  CommonsPoolObjectPool, DefaultLifecycleEnabledObjectPool

    public interface ObjectPool

extends Initialisable, Disposable

`ObjectPool` is a simple pooling interface for objects

Field Summary

Fields inherited from interface org.mule.api.lifecycle.Initialisable
`PHASE_NAME`

Fields inherited from interface org.mule.api.lifecycle.Disposable
`PHASE_NAME`

Method Summary
`Object` | `borrowObject()`
`void` | `clear()`
`void` | `close()`
`int` | `getMaxActive()`
`int` | `getNumActive()`
`ObjectFactory` | `getObjectFactory()`
`void` | `returnObject(Object object)`
`void` | `setObjectFactory(ObjectFactory objectFactory)`

Methods inherited from interface org.mule.api.lifecycle.Initialisable
`initialise`

Methods inherited from interface org.mule.api.lifecycle.Disposable
`dispose`

Method Detail

### borrowObject

    Object borrowObject()
                        throws Exception

  Throws:
    `Exception`

### returnObject

    void returnObject(Object object)

### getNumActive

    int getNumActive()

### getMaxActive

    int getMaxActive()

### clear

    void clear()

### close

    void close()

### setObjectFactory

    void setObjectFactory(ObjectFactory objectFactory)

### getObjectFactory

    ObjectFactory getObjectFactory()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2003-2010 MuleSoft, Inc.. All Rights Reserved.