public class ProviderManagerInfo extends BaseTXManager implements UNmodify
Title:
Description: 服务管理者信息封装器 封装每个服务组件的各种不同的提供者信息,提供者间的同步方法信息,方法的声明式事务管理信息
Copyright: Copyright (c) 2006
Company: bboss
| 限定符和类型 | 字段和说明 |
|---|---|
static java.lang.Boolean |
FALSE |
static java.lang.Boolean |
TRUE |
asyncMethods, callorder_sequence, interceptors, transactionInterceptorClass, txs, usedCustomInterceptor| 构造器和说明 |
|---|
ProviderManagerInfo() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addReference(Pro ref) |
void |
addSecurityProviderInfo(SecurityProviderInfo provider)
addSecurityProvider
|
void |
addSynchronizedMethod(SynchronizedMethod synchronizedMethod) |
Construction |
getConstruction() |
SecurityProviderInfo |
getDefaulProviderInfo() |
java.lang.String |
getId() |
java.lang.String |
getJndiName() |
ProviderInfoQueue |
getProviderInfoQueue() |
java.util.List<Pro> |
getReferences() |
SecurityProviderInfo |
getSecurityProviderInfoByType(java.lang.String type) |
SynchronizedMethod |
getSynchronizedMethod(java.lang.String methodUUID)
从以方法名或者模式匹配名称索引的同步方法表获取同步方法对象
|
java.util.List |
getSynchronizedMethodLists() |
protected void |
initAsyncMethods() |
void |
initTransactions() |
boolean |
isDefaultable() |
boolean |
isEnablerpc() |
boolean |
isSinglable() |
boolean |
isSynchronizedEnabled() |
boolean |
isSynchronizedMethod(java.lang.reflect.Method method)
判断方法是否包含同步方法,如果包含则返回true,否则返回false
|
static void |
main(java.lang.String[] args) |
void |
setConstruction(Construction construction) |
void |
setDefaulProviderInfo(SecurityProviderInfo defaulProvider) |
void |
setDefaultable(boolean defaultable) |
void |
setEnablerpc(boolean enablerpc) |
void |
setId(java.lang.String id) |
void |
setJndiName(java.lang.String jndiName) |
void |
setProviderInfoQueue(ProviderInfoQueue providerQueue) |
void |
setSinglable(boolean singlable) |
void |
setSynchronizedEnabled(boolean synchronizedEnabled) |
void |
unmodify() |
addInterceptor, enableAsyncCall, enableInterceptor, enableTransaction, getChainInterceptor, getInterceptors, getSynTransactionInterceptor, getTransactionInterceptor, getTransactionInterceptorClass, getTransactionMethods, isAsyncMethod, isCallorder_sequence, isTransactionMethod, loadAsyncAnnotation, loadTXAnnotation, setAsyncMethods, setCallorder_sequence, setTransactionInterceptorClass, setTransactions, usedCustomInterceptorpublic static final java.lang.Boolean TRUE
public static final java.lang.Boolean FALSE
public static void main(java.lang.String[] args)
public SecurityProviderInfo getDefaulProviderInfo()
public void addSynchronizedMethod(SynchronizedMethod synchronizedMethod)
public SynchronizedMethod getSynchronizedMethod(java.lang.String methodUUID)
methodUUID - public boolean isSynchronizedMethod(java.lang.reflect.Method method)
method - public java.lang.String getId()
public java.lang.String getJndiName()
public ProviderInfoQueue getProviderInfoQueue()
public boolean isSynchronizedEnabled()
public boolean isSinglable()
public boolean isDefaultable()
public void setDefaulProviderInfo(SecurityProviderInfo defaulProvider)
public void setId(java.lang.String id)
public void setJndiName(java.lang.String jndiName)
public void setProviderInfoQueue(ProviderInfoQueue providerQueue)
public void setSynchronizedEnabled(boolean synchronizedEnabled)
public void setSinglable(boolean singlable)
public void setDefaultable(boolean defaultable)
public void addSecurityProviderInfo(SecurityProviderInfo provider)
provider - SecurityProviderpublic SecurityProviderInfo getSecurityProviderInfoByType(java.lang.String type)
public java.util.List<Pro> getReferences()
public void addReference(Pro ref)
public java.util.List getSynchronizedMethodLists()
public void setConstruction(Construction construction)
public Construction getConstruction()
public void unmodify()
unmodify 在接口中 UNmodifyunmodify 在类中 BaseTXManagerpublic void initTransactions()
initTransactions 在类中 BaseTXManagerprotected void initAsyncMethods()
initAsyncMethods 在类中 BaseTXManagerpublic boolean isEnablerpc()
public void setEnablerpc(boolean enablerpc)