|
BEA Systems, Inc. | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
MBeanHome
interface.)This interface defines the runtime information that can be accessed at a connector service level. Runtime information can be accessed at a per resource adapter level or at an overall level.
This is a type-safe interface for a
WebLogic Server MBean, which you can import into your client
classes and access through
weblogic.management.MBeanHome
. As of 9.0, the
MBeanHome
interface and all type-safe interfaces for
WebLogic Server MBeans are deprecated. Instead, client classes that
interact with WebLogic Server MBeans should use standard JMX design
patterns in which clients use the
javax.management.MBeanServerConnection
interface to
discover MBeans, attributes, and attribute types at runtime. For
more information, see "Developing Manageable Applications with JMX"
on http://www.oracle.com/technology/documentation/index.html.
Method Summary | |
int |
getActiveRACount()
Returns the number of resource adapters that are active. |
weblogic.management.runtime.ConnectorComponentRuntimeMBean[] |
getActiveRAs()
Returns an array of runtime information for all deployed and active resource adapters. |
ConnectorConnectionPoolRuntimeMBean |
getConnectionPool(String key)
Deprecated. |
int |
getConnectionPoolCurrentCount()
Deprecated. |
ConnectorConnectionPoolRuntimeMBean[] |
getConnectionPools()
Deprecated. |
int |
getConnectionPoolsTotalCount()
Deprecated. |
weblogic.management.runtime.ConnectorComponentRuntimeMBean[] |
getInactiveRAs()
Returns an array of runtime information for all deployed and inactive resource adapters. |
weblogic.management.runtime.ConnectorInboundRuntimeMBean[] |
getInboundConnections(String messageListenerType)
Returns runtime information for the specified inbound connection. |
weblogic.management.runtime.ConnectorComponentRuntimeMBean |
getRA(String key)
Returns the runtime information of the resource adapter specified by the given JNDI name. |
int |
getRACount()
Returns the number of resource adapters that have been deployed in the server. |
weblogic.management.runtime.ConnectorComponentRuntimeMBean[] |
getRAs()
Returns an array of runtime information for all deployed resource adapters. |
void |
resume(int type)
Resumes the specified type of activity for all RAs. |
void |
resume(int type,
Properties props)
Resumes the specified type of activity for all RAs |
void |
resumeAll()
Resumes all activities of all resource adapters. |
void |
resumeAll(Properties props)
Resumes all activities of all resource adapters. |
void |
suspend(int type)
Suspends the specified type of activity for all RAs. |
void |
suspend(int type,
Properties props)
Suspends the specified type of activity for all RAs |
void |
suspendAll()
Suspends all activities of all resource adapters. |
void |
suspendAll(Properties props)
Suspends all activities of all resource adapters. |
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, preDeregister, preRegister |
Methods inherited from interface javax.management.NotificationBroadcaster |
addNotificationListener, getNotificationInfo, removeNotificationListener |
Method Detail |
public int getActiveRACount()
Returns the number of resource adapters that are active.
public weblogic.management.runtime.ConnectorComponentRuntimeMBean[] getActiveRAs()
Returns an array of runtime information for all deployed and active resource adapters.
public ConnectorConnectionPoolRuntimeMBean getConnectionPool(String key)
public int getConnectionPoolCurrentCount()
Returns the number of connection pools in all active RAs.
public ConnectorConnectionPoolRuntimeMBean[] getConnectionPools()
public int getConnectionPoolsTotalCount()
Returns the number of resource adapter connection pools that have been created since server start up. This includes re-deployments.
Returns the total number of deployed connection pools instantiated since the Server startup.
public weblogic.management.runtime.ConnectorComponentRuntimeMBean[] getInactiveRAs()
Returns an array of runtime information for all deployed and inactive resource adapters.
public weblogic.management.runtime.ConnectorInboundRuntimeMBean[] getInboundConnections(String messageListenerType)
Returns runtime information for the specified inbound connection. A null is returned if the inbound connection is not found.
messageListenerType
- Message listener type.
public weblogic.management.runtime.ConnectorComponentRuntimeMBean getRA(String key)
Returns the runtime information of the resource adapter specified by the given JNDI name. A null is returned if the resource adapter cannot be found. This function returns the active RA if multiple versions of the resource adapters has been deployed
public int getRACount()
Returns the number of resource adapters that have been deployed in the server. This count includes active RAs and Non-active RAs ( in the case of versioned RAs that are being replced by a new version )
public weblogic.management.runtime.ConnectorComponentRuntimeMBean[] getRAs()
Returns an array of runtime information for all deployed resource adapters.
public void resume(int type) throws weblogic.utils.ErrorCollectionException
Resumes the specified type of activity for all RAs.
type
- int The type of activity(ies), @see weblogic.connector.extensions.Suspendable
weblogic.utils.ErrorCollectionException
- A collection of exceptions if something goes wrongpublic void resume(int type, Properties props) throws weblogic.utils.ErrorCollectionException
Resumes the specified type of activity for all RAs
type
- int The type of activity(ies), @see weblogic.connector.extensions.Suspendableprops
- Properties to pass on to the RA or null
weblogic.utils.ErrorCollectionException
- A collection of exceptions if something goes wrongpublic void resumeAll() throws weblogic.utils.ErrorCollectionException
Resumes all activities of all resource adapters.
weblogic.utils.ErrorCollectionException
- A collection of exceptions if something goes wrongpublic void resumeAll(Properties props) throws weblogic.utils.ErrorCollectionException
Resumes all activities of all resource adapters.
props
- Properties to be passed to the resource adapters or null
weblogic.utils.ErrorCollectionException
- A collection of exceptions if something goes wrongpublic void suspend(int type) throws weblogic.utils.ErrorCollectionException
Suspends the specified type of activity for all RAs.
type
- int The type of activity(ies), @see weblogic.connector.extensions.Suspendable
weblogic.utils.ErrorCollectionException
- A collection of exceptions if something goes wrongpublic void suspend(int type, Properties props) throws weblogic.utils.ErrorCollectionException
Suspends the specified type of activity for all RAs
type
- int The type of activity(ies), @see weblogic.connector.extensions.Suspendableprops
- Properties to pass on to the RA or null
weblogic.utils.ErrorCollectionException
- A collection of exceptions if something goes wrongpublic void suspendAll() throws weblogic.utils.ErrorCollectionException
Suspends all activities of all resource adapters.
weblogic.utils.ErrorCollectionException
- A collection of exceptions if something goes wrongpublic void suspendAll(Properties props) throws weblogic.utils.ErrorCollectionException
Suspends all activities of all resource adapters.
props
- Properties to be passed to the resource adapters or null
weblogic.utils.ErrorCollectionException
- A collection of exceptions if something goes wrong
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs90 Copyright 2005 BEA Systems Inc. |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |