|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
MBean for managing Adapter deployment properties
Field Summary |
Fields inherited from interface weblogic.management.configuration.ConfigurationMBean |
CACHING_STUB_SVUID, DEFAULT_EMPTY_BYTE_ARRAY |
Method Summary | |
void |
autoSuspend()
Internal use. |
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 |
Boolean |
getAutoSuspendEnabled()
Indicates if the auto-suspend feature is enabled for this adapter instance. |
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. |
IAdapterDescriptor |
getDescriptor()
This attribute holds all the metadata known about the Adapter instance and can be serialized to/from an XML document (is also Serializable). |
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. |
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, getAttributeStringValue, getComments, getNotes, getSetFields, getXml, getXmlConverter, isDefaultedMBean, isPersistenceEnabled, preDeregister, registerConfigMBean, restoreDefaultValue, setComments, setDefaultedMBean, setNotes, setPersistenceEnabled, touch, unRegisterConfigMBean |
Methods inherited from interface weblogic.management.WebLogicMBean |
getMBeanInfo, getName, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setName, setParent |
Methods inherited from interface javax.management.DynamicMBean |
getAttribute, getAttributes, invoke, setAttribute, setAttributes |
Methods inherited from interface javax.management.MBeanRegistration |
postDeregister, postRegister, preRegister |
Methods inherited from interface javax.management.NotificationBroadcaster |
addNotificationListener, getNotificationInfo, removeNotificationListener |
Method Detail |
public Integer getDeployState()
public Object getCauseOfCurrentState()
public Long getTimeInCurrentState()
public String getAdapterID()
public String getAppName()
public IAdapterDescriptor getDescriptor()
public String[] getServerList()
public boolean isAutoSuspended()
public String getDescription()
public PrincipalMap getWLSToEISPrincipalMap(String factoryName)
factoryName
- The name of the connection factory (within this adapter
instance) for which the PrincipalMap is being obtained.public 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)
public Properties getProperties()
public void setProperties(Properties props)
props
- The new properties for this adapter instancegetProperties()
public Integer getMinPoolSize(String factoryName)
factoryName
- the name of the connection factory (within this adapter
instance) for which the min pool size is being retrieved.public 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)
public Integer getMaxPoolSize(String factoryName)
factoryName
- the name of the connection factory (within this adapter
instance) for which the max pool size is being retrieved.public void setMaxPoolSize(String factoryName, Integer size)
getMaxPoolSize(String factoryName)
public Boolean getAllowPoolToShrink(String factoryName)
factoryName
- the name of the connection factory (within this adapter
instance) for which the pool shrink value is being retrieved.public 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)
public Properties getConnectionFactoryProperties(String factoryName)
factoryName
- the name of the connection factory (within this adapter
instance) for which the properties are being retrieved.public 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)
public String[] getInboundMessagingTargets()
public void setInboundMessagingTargets(String[] newValue) throws javax.management.InvalidAttributeValueException
newValue
- A comma-separated list of targets on which to activate
inbound messaging for this adapter instance.
javax.management.InvalidAttributeValueException
getInboundMessagingTargets()
,
IAdapterDescriptor.isInboundMessagingEnabled()
public Boolean getAutoSuspendEnabled()
public void setAutoSuspendEnabled(Boolean newValue)
getAutoSuspendEnabled()
public Integer getAutoSuspendTimeout()
public void setAutoSuspendTimeout(Integer newValue)
getAutoSuspendTimeout()
public void suspend()
public void autoSuspend()
public void resume()
public void redeploy()
public String[] getConnectionFactoryPolicy(String factoryName)
factoryName
- the name of the connection factory (within this adapter
instance) for which the policy is being retrieved.public void setConnectionFactoryPolicy(String factoryName, String[] roles)
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.getConnectionFactoryPolicy(String factoryName)
public String getInheritedConnectionFactoryPolicy(String factoryName)
factoryName
- the name of the connection factory (within this adapter
instance) for which the inherited policy is being retrieved.public String[] listDependentApplicationViews()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |