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.public ScopeConstants()
${project.version} - Copyright © 2003-2015 The Apache Software Foundation.