|
Apache CXF API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.cxf.service.invoker.PerRequestFactory
public class PerRequestFactory
Creates a new instance of the service object for each call to create().
| Constructor Summary | |
|---|---|
PerRequestFactory(java.lang.Class svcClass)
|
|
| Method Summary | |
|---|---|
java.lang.Object |
create(Exchange ex)
Creates the object that will be used for the invoke |
void |
release(Exchange ex,
java.lang.Object o)
Post invoke, this is called to allow the factory to release the object, store it, etc... |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PerRequestFactory(java.lang.Class svcClass)
| Method Detail |
|---|
public java.lang.Object create(Exchange ex)
throws java.lang.Throwable
Factory
create in interface Factoryjava.lang.Throwable
public void release(Exchange ex,
java.lang.Object o)
Factory
release in interface Factoryo - object created from the create method
|
Apache CXF API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||