public interface DatasourceInterceptorMBean extends InterceptorMBean
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DATASOURCE_INTERCEPTOR_TYPE |
static java.lang.String |
ELASTIC_SERVICE_MANAGER |
DEFAULT_EMPTY_BYTE_ARRAY
Modifier and Type | Method and Description |
---|---|
int |
getConnectionQuota() |
java.lang.String |
getConnectionUrlsPattern()
Returns the regex pattern for the connection urls.
|
java.lang.String |
getInterceptedTargetKey()
The key associated with the intercepted target.
|
java.lang.String |
getInterceptorTypeName()
The HK2 name of the interceptor class.
|
void |
setConnectionQuota(int quota)
Set quota for maximum number of connections that may be created from the domain
|
void |
setConnectionUrlsPattern(java.lang.String urlPattern)
Set connection url pattern
|
getDependsOn, getInterceptedOperationNames, getPriority, getProperties, setDependsOn, setInterceptedOperationNames, setInterceptedTargetKey, setInterceptorTypeName, setPriority, setProperties
addTag, freezeCurrentValue, getComments, getId, getInheritedProperties, getName, getNotes, getTags, isDefaultedMBean, isDynamicallyCreated, isInherited, isPersistenceEnabled, isSet, removeTag, restoreDefaultValue, setComments, setDefaultedMBean, setName, setNotes, setPersistenceEnabled, setTags, touch, unSet
getMBeanInfo, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setParent
getAttribute, getAttributes, invoke, setAttribute, setAttributes
postDeregister, postRegister, preDeregister, preRegister
addNotificationListener, getNotificationInfo, removeNotificationListener
addBeanUpdateListener, addPropertyChangeListener, createChildCopy, createChildCopyIncludingObsolete, getDescriptor, getParentBean, isEditable, removeBeanUpdateListener, removePropertyChangeListener
static final java.lang.String DATASOURCE_INTERCEPTOR_TYPE
static final java.lang.String ELASTIC_SERVICE_MANAGER
java.lang.String getInterceptorTypeName()
getInterceptorTypeName
in interface InterceptorMBean
java.lang.String getInterceptedTargetKey()
InterceptorMBean
The key associated with the intercepted target. This is the value that would have been specified in the @InterceptedTargetKey annotation. If this is null then this Interceptor is ignored.
getInterceptedTargetKey
in interface InterceptorMBean
java.lang.String getConnectionUrlsPattern()
void setConnectionUrlsPattern(java.lang.String urlPattern)
urlPattern
- Connection url regex patternint getConnectionQuota()
void setConnectionQuota(int quota)
quota
- Max number of connections from domain to databases connected with
with urls matching the ConnectionUrlsPattern parameter