|
Apache CXF API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Pool
Represents a pooling strategy for certain object instance.
| Method Summary | |
|---|---|
java.lang.Object |
getInstance(Factory factory)
Apply the pooling strategy and return an instance from either the pool or the factory. |
java.lang.Object |
getPooledInstance(java.lang.Object def)
Get the instance that's already pooled. |
boolean |
isPooled()
Is this pool currently having something in cache? |
| Method Detail |
|---|
java.lang.Object getInstance(Factory factory)
throws java.lang.Throwable
factory - the factory to create the object instance.
java.lang.Throwablejava.lang.Object getPooledInstance(java.lang.Object def)
def - the default value to return if there's no pooled instance.
boolean isPooled()
|
Apache CXF API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||