|
Oracle Fusion Middleware Oracle WebLogic Server MBean Javadoc 11g Release 1 (10.3.6) Part Number E13945-06 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ConnectorServiceRuntimeMBean
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/products/weblogic/index.html.
Method Summary | |
---|---|
int |
getActiveRACount()
Returns the number of resource adapters that are active. |
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. |
ConnectorComponentRuntimeMBean[] |
getInactiveRAs()
Returns an array of runtime information for all deployed and inactive resource adapters. |
ConnectorInboundRuntimeMBean[] |
getInboundConnections(String messageListenerType)
Returns runtime information for the specified inbound connection. |
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. |
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. |
Method Detail |
---|
int getActiveRACount()
Returns the number of resource adapters that are active.
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 replaced by a new version )
ConnectorComponentRuntimeMBean[] getRAs()
Returns an array of runtime information for all deployed resource adapters.
ConnectorComponentRuntimeMBean[] getActiveRAs()
Returns an array of runtime information for all deployed and active resource adapters.
ConnectorComponentRuntimeMBean[] getInactiveRAs()
Returns an array of runtime information for all deployed and inactive resource adapters.
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
jndiName
- The JNDI name of the resource adapter.
int getConnectionPoolCurrentCount()
Returns the number of connection pools in all active RAs.
int getConnectionPoolsTotalCount()
Returns the number of resource adapter connection pools that have been created since server startup. This includes re-deployments.
Returns the total number of deployed connection pools instantiated since server startup.
ConnectorConnectionPoolRuntimeMBean[] getConnectionPools()
ConnectorConnectionPoolRuntimeMBean getConnectionPool(String key)
the
- key by which to find the connection pool. this could be the
jndi name or the resource-link.
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.
void suspendAll(Properties props) throws ErrorCollectionException
Suspends all activities of all resource adapters.
props
- Properties to be passed to the resource adapters or null
ErrorCollectionException
- A collection of exceptions if something goes wrongvoid suspend(int type, Properties props) throws 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
ErrorCollectionException
- A collection of exceptions if something goes wrongvoid resumeAll(Properties props) throws ErrorCollectionException
Resumes all activities of all resource adapters.
props
- Properties to be passed to the resource adapters or null
ErrorCollectionException
- A collection of exceptions if something goes wrongvoid resume(int type, Properties props) throws 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
ErrorCollectionException
- A collection of exceptions if something goes wrongvoid suspendAll() throws ErrorCollectionException
Suspends all activities of all resource adapters.
ErrorCollectionException
- A collection of exceptions if something goes wrongvoid suspend(int type) throws ErrorCollectionException
Suspends the specified type of activity for all RAs.
type
- int The type of activity(ies), @see weblogic.connector.extensions.Suspendable
ErrorCollectionException
- A collection of exceptions if something goes wrongvoid resumeAll() throws ErrorCollectionException
Resumes all activities of all resource adapters.
ErrorCollectionException
- A collection of exceptions if something goes wrongvoid resume(int type) throws ErrorCollectionException
Resumes the specified type of activity for all RAs.
type
- int The type of activity(ies), @see weblogic.connector.extensions.Suspendable
ErrorCollectionException
- A collection of exceptions if something goes wrong
|
Copyright 1996, 2011, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Oracle WebLogic Server MBean Javadoc 11g Release 1 (10.3.6) Part Number E13945-06 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |