public class ScopeConstants extends Object
Scope annotation.| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT
The default scope is a singleton within the
Registry. |
static String |
PERTHREAD
An alternate scope provided with Tapestry; a per-thread instance is created on demand, behind a shared proxy.
|
| Constructor and Description |
|---|
ScopeConstants() |
public static final 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 String PERTHREAD
PerthreadManager to receive notifications.PerThreadServiceLifecycle,
Constant Field Valuespublic ScopeConstants()
5.6.4 - Copyright © 2003-2021 The Apache Software Foundation.