|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AdapterDeploymentMBean
MBean for managing Adapter deployment properties
Field Summary |
---|
Fields inherited from interface weblogic.management.configuration.ConfigurationMBean |
---|
DEFAULT_EMPTY_BYTE_ARRAY |
Method Summary | |
---|---|
void |
autoSuspend()
Internal use. |
IAdapterDescriptor |
getAdapterDescriptor()
This attribute holds all the metadata known about the Adapter instance and can be serialized to/from an XML document (is also Serializable). |
String |
getAdapterID()
ID of the Adapter this MBean represents as a string (derived from appName and getDescriptor().getQualifiedName().toString()). |
Boolean |
getAllowPoolToShrink(String factoryName)
Is the pool for the named connection factory allowed to shrink in cases where it is sitting idle? |
String |
getAppName()
Name of the J2EE application that contains the Adapter instance this MBean represents |
Integer |
getAutoSuspendTimeout()
The number of seconds AI should allow an auto-suspend to last. |
Object |
getCauseOfCurrentState()
The throwable/exception or String explanation that caused the Adapter to be in the current state (‘Deploy Failed’ and ‘Suspended’ only) or null if the AppView is in none of these states. |
String[] |
getConnectionFactoryPolicy(String factoryName)
Get a list of names of roles allowed to obtain connections from the named connection factory. |
Properties |
getConnectionFactoryProperties(String factoryName)
Get the list of properties for named connection factory. |
Integer |
getDeployState()
Logical status of this Adapter instance (‘Deployed’, ‘Undeployed’, ‘Deploying’, ‘Undeploying’, ‘Deploy Failed’, ‘Suspended’, ‘Suspending’ and ‘Resuming’). |
String |
getDescription()
Description of this Adapter instance or null if none was given. |
String[] |
getInboundMessagingTargets()
List of server (not cluster) names on which the inbound messaging section of the adapter instance will be activated. |
String |
getInheritedConnectionFactoryPolicy(String factoryName)
Get a policy expression string inherited from the parent resource of the named connection factory. |
Integer |
getMaxPoolSize(String factoryName)
Get the maximum number of connections to maintain in the pool for the named connection factory. |
Integer |
getMinPoolSize(String factoryName)
Get the minimum number of connections to maintain in the pool for the named connection factory. |
Properties |
getProperties()
Get the list of properties for this adapter instance. |
String[] |
getServerList()
The list of servers (managed server names) on which this adapter instance is present (in some state that may be Deploying, Resuming, Undeploying, etc.). |
Long |
getTimeInCurrentState()
The number of milliseconds this Adapter instance has been in its current state. |
PrincipalMap |
getWLSToEISPrincipalMap(String factoryName)
Mappings from WLS user name to EIS user name and password. |
boolean |
isAutoSuspended()
Was this Adapter instance auto-suspended. |
boolean |
isAutoSuspendEnabled()
Indicates if the auto-suspend feature is enabled for this adapter instance. |
String[] |
listDependentApplicationViews()
List all ApplicationViews (by ID) that depend on this adapter instance. |
void |
redeploy()
Requests the transition of the Adapter instance into the undeployed state, immediately followed by a transition to the deployed state, on all servers in the serverList attribute. |
void |
resume()
Requests the transition of the Adapter instance into the deployed state on all servers in the serverList attribute. |
void |
setAllowPoolToShrink(String factoryName,
Boolean allow)
Set whether the named connection factory pool is allowed to shrink. |
void |
setAutoSuspendEnabled(boolean newValue)
Set the auto-suspend as enabled or disabled for this adapter instance. |
void |
setAutoSuspendTimeout(Integer newValue)
Get the number of seconds AI should allow an auto-suspend to last. |
void |
setConnectionFactoryPolicy(String factoryName,
String[] roles)
Set the list of names of roles allowed to obtain connections from the named connection factory. |
void |
setConnectionFactoryProperties(String factoryName,
Properties props)
Set the connection properties for the named connection factory. |
void |
setInboundMessagingTargets(String[] newValue)
Set the targets for the inbound messaging component of this adapter instance. |
void |
setMaxPoolSize(String factoryName,
Integer size)
Set the maximum number of connections to maintain in the pool for the named connection factory * @param factoryName the name of the connection factory (within this adapter instance) for which the max pool size is being set. |
void |
setMinPoolSize(String factoryName,
Integer size)
Set the minimum pool size for the named connection factory. |
void |
setProperties(Properties props)
Set the properties for this adapter instance. |
void |
setWLSToEISPrincipalMap(String factoryName,
PrincipalMap newValue)
Set the principal map to use for the named connection factory. |
void |
suspend()
Requests the transition of the Adapter instance into the suspended state on all servers in the serverList attribute. |
Methods inherited from interface weblogic.management.configuration.ConfigurationMBean |
---|
freezeCurrentValue, getComments, getName, getNotes, isDefaultedMBean, isPersistenceEnabled, isSet, restoreDefaultValue, setComments, setDefaultedMBean, setName, setNotes, setPersistenceEnabled, touch, unSet |
Methods inherited from interface weblogic.management.WebLogicMBean |
---|
getMBeanInfo, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setParent |
Methods inherited from interface javax.management.DynamicMBean |
---|
getAttribute, getAttributes, invoke, setAttribute, setAttributes |
Methods inherited from interface javax.management.MBeanRegistration |
---|
postDeregister, postRegister, preDeregister, preRegister |
Methods inherited from interface javax.management.NotificationBroadcaster |
---|
addNotificationListener, getNotificationInfo, removeNotificationListener |
Methods inherited from interface weblogic.descriptor.DescriptorBean |
---|
addBeanUpdateListener, addPropertyChangeListener, createChildCopy, createChildCopyIncludingObsolete, getDescriptor, getParentBean, isEditable, removeBeanUpdateListener, removePropertyChangeListener |
Method Detail |
---|
Integer getDeployState()
Object getCauseOfCurrentState()
Long getTimeInCurrentState()
String getAdapterID()
String getAppName()
IAdapterDescriptor getAdapterDescriptor()
String[] getServerList() throws javax.management.MBeanException
javax.management.MBeanException
boolean isAutoSuspended()
String getDescription()
PrincipalMap getWLSToEISPrincipalMap(String factoryName)
factoryName
- The name of the connection factory (within this adapter
instance) for which the PrincipalMap is being obtained.void setWLSToEISPrincipalMap(String factoryName, PrincipalMap newValue)
factoryName
- the name of the connection factory (within this adapter
instance) for which the PrincipalMap is being set.newValue
- The new PrincipalMap to assign to the named connection
factory.getWLSToEISPrincipalMap(String factoryName)
Properties getProperties()
void setProperties(Properties props)
props
- The new properties for this adapter instancegetProperties()
Integer getMinPoolSize(String factoryName)
factoryName
- the name of the connection factory (within this adapter
instance) for which the min pool size is being retrieved.void setMinPoolSize(String factoryName, Integer size)
factoryName
- the name of the connection factory (within this adapter
instance) for which the min pool size is being set.getMinPoolSize(String factoryName)
Integer getMaxPoolSize(String factoryName)
factoryName
- the name of the connection factory (within this adapter
instance) for which the max pool size is being retrieved.void setMaxPoolSize(String factoryName, Integer size)
getMaxPoolSize(String factoryName)
Boolean getAllowPoolToShrink(String factoryName)
factoryName
- the name of the connection factory (within this adapter
instance) for which the pool shrink value is being retrieved.void setAllowPoolToShrink(String factoryName, Boolean allow)
factoryName
- the name of the connection factory (within this adapter
instance) for which the pool shrink value is being set.getAllowPoolToShrink(String factoryName)
Properties getConnectionFactoryProperties(String factoryName)
factoryName
- the name of the connection factory (within this adapter
instance) for which the properties are being retrieved.void setConnectionFactoryProperties(String factoryName, Properties props)
factoryName
- the name of the connection factory (within this adapter
instance) for which the properties are being set.getConnectionFactoryProperties(String factoryName)
String[] getInboundMessagingTargets()
void setInboundMessagingTargets(String[] newValue) throws javax.management.InvalidAttributeValueException, javax.management.MBeanException
newValue
- A comma-separated list of targets on which to activate
inbound messaging for this adapter instance.
javax.management.InvalidAttributeValueException
javax.management.MBeanException
getInboundMessagingTargets()
,
IAdapterDescriptor.isInboundMessagingEnabled()
boolean isAutoSuspendEnabled()
void setAutoSuspendEnabled(boolean newValue)
isAutoSuspendEnabled()
Integer getAutoSuspendTimeout()
void setAutoSuspendTimeout(Integer newValue)
getAutoSuspendTimeout()
void suspend() throws javax.management.MBeanException
javax.management.MBeanException
void autoSuspend() throws javax.management.MBeanException
javax.management.MBeanException
void resume() throws javax.management.MBeanException
javax.management.MBeanException
void redeploy() throws javax.management.MBeanException
javax.management.MBeanException
String[] getConnectionFactoryPolicy(String factoryName)
factoryName
- the name of the connection factory (within this adapter
instance) for which the policy is being retrieved.void setConnectionFactoryPolicy(String factoryName, String[] roles) throws javax.management.MBeanException
factoryName
- the name of the connection factory (within this adapter
instance) for which the policy is being set.roles
- An array of role names that are allowed to obtain connections
from the named connection factory.
javax.management.MBeanException
getConnectionFactoryPolicy(String factoryName)
String getInheritedConnectionFactoryPolicy(String factoryName) throws javax.management.MBeanException
factoryName
- the name of the connection factory (within this adapter
instance) for which the inherited policy is being retrieved.
javax.management.MBeanException
String[] listDependentApplicationViews() throws javax.management.MBeanException
javax.management.MBeanException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |