|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tapestry5.ioc.ScopeConstants
public class ScopeConstants
Defines constants for built-in scopes (used with the Scope
annotation.
Field Summary | |
---|---|
static java.lang.String |
DEFAULT
The default scope is a singleton within the Registry . |
static java.lang.String |
PERTHREAD
An alternate scope provided with Tapestry; a per-thread instance is created on demand, behind a shared proxy. |
Constructor Summary | |
---|---|
ScopeConstants()
|
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String DEFAULT
Registry
. A single instance will be
created on demand. The lifespan of the instance lasts until the registry is shut
down. Some implementations will want to know when the Registry is shutdown; they should register for
notifications via the RegistryShutdownHub
service.
public static final java.lang.String PERTHREAD
Some implementations will want to be notified before being discarded and should register with
the PerthreadManager
to receive notifications.
PerThreadServiceLifecycle
,
Constant Field ValuesConstructor Detail |
---|
public ScopeConstants()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |