|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tapestry5.ioc.internal.services.PerThreadServiceCreator
public class PerThreadServiceCreator
Provides per-thread implementations of services.
| Constructor Summary | |
|---|---|
PerThreadServiceCreator(PerthreadManager perthreadManager,
ObjectCreator delegate)
|
|
| Method Summary | |
|---|---|
java.lang.Object |
createObject()
For each thread, the first call will use the delegate ObjectCreator to create
an instance, and later calls will reuse the same per-thread instance. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PerThreadServiceCreator(PerthreadManager perthreadManager,
ObjectCreator delegate)
| Method Detail |
|---|
public java.lang.Object createObject()
ObjectCreator to create
an instance, and later calls will reuse the same per-thread instance. The instance is stored in the
PerthreadManager and will be released at the end of the request.
createObject in interface ObjectCreator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||