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
Some implementations will want to be notified before being discarded and should register with
the PerthreadManager
to receive notifications.
public ScopeConstants()
Copyright © 2003-2012 The Apache Software Foundation.