Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.3)

Part Number E41849-02

weblogic.management.runtime
Interface SpringApplicationContextRuntimeMBean

All Superinterfaces:
DynamicMBean, MBeanRegistration, NotificationBroadcaster, RuntimeMBean, WebLogicMBean

public interface SpringApplicationContextRuntimeMBean
extends RuntimeMBean

This MBean represents instances of class org.springframework.context.support.AbstractApplicationContext and org.springframework.beans.factory.support.AbstractBeanFactory There is a SpringApplicationContextRuntimeMBean for each application context in a deployment.


Method Summary
 double getAverageCustomScopeBeanCreationTime(String scopeName)
          This returns the average elapsed time in milliseconds required to create custom scope beans
 double getAverageGetBeanNamesForTypeTime()
          This returns the average elapsed time in milliseconds required for getBeanNamesForType()
 double getAverageGetBeansOfTypeTime()
          This returns the average elapsed time in milliseconds required for getBeansOfType()
 double getAverageGetBeanTime()
          This returns the average elapsed time in milliseconds required for getBean()
 double getAveragePrototypeBeanCreationTime()
          This returns the average elapsed time in milliseconds required to create prototype beans
 double getAverageRefreshTime()
          This returns the average elapsed time in milliseconds required to perform a refresh
 double getAverageSingletonBeanCreationTime()
          This returns the average elapsed time in milliseconds required to create singleton beans
 long getCustomScopeBeansCreatedCount(String scopeName)
          The number of custom scope beans created.
 String[] getCustomScopeNames()
          The names of customer scopes that were registered.
 String getDisplayName()
          Display name of the application context
 long getGetBeanCount()
          The number of times getBean() was called
 long getGetBeanNamesForTypeCount()
          The number of times getBeanNamesForType() was called
 long getGetBeansOfTypeCount()
          The number of times getBeansOfType() was called
 String getParentContext()
          The name of the parent context
 long getPrototypeBeansCreatedCount()
          The number of Prototype beans created.
 long getRefreshCount()
          The number of refreshes performed
 long getSingletonBeansCreatedCount()
          The number of singleton beans created.
 long getStartupDate()
          Return the timestamp in milliseconds when this context was first loaded
 
Methods inherited from interface weblogic.management.WebLogicMBean
getMBeanInfo, getName, 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
 

Method Detail

getDisplayName

String getDisplayName()

Display name of the application context

Returns:
display name

getParentContext

String getParentContext()

The name of the parent context

Returns:
parent context value

getStartupDate

long getStartupDate()

Return the timestamp in milliseconds when this context was first loaded

Returns:
startup date value

getAveragePrototypeBeanCreationTime

double getAveragePrototypeBeanCreationTime()

This returns the average elapsed time in milliseconds required to create prototype beans

Returns:
average prototype bean creation time value

getPrototypeBeansCreatedCount

long getPrototypeBeansCreatedCount()

The number of Prototype beans created.

Returns:
prototype beans created count value

getAverageSingletonBeanCreationTime

double getAverageSingletonBeanCreationTime()

This returns the average elapsed time in milliseconds required to create singleton beans

Returns:
average singleton bean creation time value

getSingletonBeansCreatedCount

long getSingletonBeansCreatedCount()

The number of singleton beans created.

Returns:
singleton beans created count value

getCustomScopeNames

String[] getCustomScopeNames()

The names of customer scopes that were registered.

Returns:
custom scope names value

getAverageCustomScopeBeanCreationTime

double getAverageCustomScopeBeanCreationTime(String scopeName)
                                             throws IllegalArgumentException

This returns the average elapsed time in milliseconds required to create custom scope beans

Parameters:
scopeName -
Returns:
average custom scope bean creation time value
Throws:
IllegalArgumentException

getCustomScopeBeansCreatedCount

long getCustomScopeBeansCreatedCount(String scopeName)
                                     throws IllegalArgumentException

The number of custom scope beans created.

Parameters:
scopeName -
Returns:
custom scope beans created count value
Throws:
IllegalArgumentException

getAverageRefreshTime

double getAverageRefreshTime()

This returns the average elapsed time in milliseconds required to perform a refresh

Returns:
average refresh time value

getRefreshCount

long getRefreshCount()

The number of refreshes performed

Returns:
refresh count value

getAverageGetBeanTime

double getAverageGetBeanTime()

This returns the average elapsed time in milliseconds required for getBean()

Returns:
average getBean time value

getGetBeanCount

long getGetBeanCount()

The number of times getBean() was called

Returns:
getBean count value

getAverageGetBeansOfTypeTime

double getAverageGetBeansOfTypeTime()

This returns the average elapsed time in milliseconds required for getBeansOfType()

Returns:
average getBeansOfType time value

getGetBeansOfTypeCount

long getGetBeansOfTypeCount()

The number of times getBeansOfType() was called

Returns:
getBeansOfType count value

getAverageGetBeanNamesForTypeTime

double getAverageGetBeanNamesForTypeTime()

This returns the average elapsed time in milliseconds required for getBeanNamesForType()

Returns:
average getBeansForType time value

getGetBeanNamesForTypeCount

long getGetBeanNamesForTypeCount()

The number of times getBeanNamesForType() was called

Returns:
getBeansForType count value

Copyright 1996, 2014, 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
Java API Reference for Oracle WebLogic Server
12c (12.1.3)

Part Number E41849-02