当前页面:
在线文档首页 >
JBoss Seam 1.2.0 patch1 API 英文版文档
Init (JBoss Seam API Documentation) - JBoss Seam 1.2.0 patch1 API 英文版文档
org.jboss.seam.core
Class Init
java.lang.Object
org.jboss.seam.core.Init
@Scope(value=APPLICATION)
@Intercept(value=NEVER)
@Name(value="org.jboss.seam.core.init")
@Install(value=false,
precedence=0)
public class Init
- extends Object
A Seam component that holds Seam configuration settings
- Author:
- Gavin King
Constructor Summary |
Init()
|
Method Summary |
void |
addAutocreateVariable(String name)
|
void |
addFactoryMethod(String variable,
Method method,
Component component)
|
void |
addFactoryMethodBinding(String variable,
String methodBindingExpression,
ScopeType scope)
|
void |
addFactoryValueBinding(String variable,
String valueBindingExpression,
ScopeType scope)
|
void |
addInstalledFilter(String name)
|
void |
addObserverMethod(String eventType,
Method method,
Component component,
boolean create)
|
void |
addObserverMethodBinding(String eventType,
Expressions.MethodBinding methodBinding)
|
void |
addResourceProvider(String name)
|
void |
create()
|
Init.FactoryMethod |
getFactory(String variable)
|
Init.FactoryBinding |
getFactoryMethodBinding(String variable)
|
Init.FactoryBinding |
getFactoryValueBinding(String variable)
|
Set<String> |
getInstalledFilters()
|
String |
getJndiPattern()
|
List<Init.ObserverMethodBinding> |
getObserverMethodBindings(String eventType)
|
List<Init.ObserverMethod> |
getObserverMethods(String eventType)
|
Set<String> |
getResourceProviders()
|
Namespace |
getRootNamespace()
|
protected String |
getUserTransactionName()
The JNDI name of the JTA UserTransaction |
static Init |
instance()
|
boolean |
isAutocreateVariable(String name)
|
boolean |
isClientSideConversations()
|
boolean |
isDebug()
|
boolean |
isJbpmInstalled()
|
boolean |
isMyFacesLifecycleBug()
|
void |
setClientSideConversations(boolean isClientSideConversations)
|
void |
setDebug(boolean debug)
|
void |
setJbpmInstalled(boolean jbpmInstalled)
|
void |
setJndiPattern(String jndiPattern)
|
void |
setMyFacesLifecycleBug(boolean myFacesLifecycleBugExists)
|
protected void |
setUserTransactionName(String userTransactionName)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Init
public Init()
create
@Create
public void create()
instance
public static Init instance()
isClientSideConversations
public boolean isClientSideConversations()
setClientSideConversations
public void setClientSideConversations(boolean isClientSideConversations)
getFactory
public Init.FactoryMethod getFactory(String variable)
getFactoryMethodBinding
public Init.FactoryBinding getFactoryMethodBinding(String variable)
getFactoryValueBinding
public Init.FactoryBinding getFactoryValueBinding(String variable)
addFactoryMethod
public void addFactoryMethod(String variable,
Method method,
Component component)
addFactoryMethodBinding
public void addFactoryMethodBinding(String variable,
String methodBindingExpression,
ScopeType scope)
addFactoryValueBinding
public void addFactoryValueBinding(String variable,
String valueBindingExpression,
ScopeType scope)
getObserverMethods
public List<Init.ObserverMethod> getObserverMethods(String eventType)
getObserverMethodBindings
public List<Init.ObserverMethodBinding> getObserverMethodBindings(String eventType)
addObserverMethod
public void addObserverMethod(String eventType,
Method method,
Component component,
boolean create)
addObserverMethodBinding
public void addObserverMethodBinding(String eventType,
Expressions.MethodBinding methodBinding)
isJbpmInstalled
public boolean isJbpmInstalled()
getJndiPattern
public String getJndiPattern()
setJndiPattern
public void setJndiPattern(String jndiPattern)
isDebug
public boolean isDebug()
setDebug
public void setDebug(boolean debug)
isMyFacesLifecycleBug
public boolean isMyFacesLifecycleBug()
setMyFacesLifecycleBug
public void setMyFacesLifecycleBug(boolean myFacesLifecycleBugExists)
setJbpmInstalled
public void setJbpmInstalled(boolean jbpmInstalled)
getUserTransactionName
protected String getUserTransactionName()
- The JNDI name of the JTA UserTransaction
setUserTransactionName
protected void setUserTransactionName(String userTransactionName)
isAutocreateVariable
public boolean isAutocreateVariable(String name)
addAutocreateVariable
public void addAutocreateVariable(String name)
getRootNamespace
public Namespace getRootNamespace()
addInstalledFilter
public void addInstalledFilter(String name)
getInstalledFilters
public Set<String> getInstalledFilters()
addResourceProvider
public void addResourceProvider(String name)
getResourceProviders
public Set<String> getResourceProviders()