Skip navigation links

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

Part Number E55141-01
P4 Change 1723563 on 2015/10/09


weblogic.management.runtime
Interface SpringBeanDefinitionRuntimeMBean

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

public interface SpringBeanDefinitionRuntimeMBean
extends RuntimeMBean
Since:
10.3.0.0

Field Summary
static int ROLE_APPLICATION
          Application role hint.
static int ROLE_INFRASTRUCTURE
          Infrastructure role hint.
static int ROLE_SUPPORT
          Support role hint.

 

Method Summary
abstract  String[] getAliases()
          Get the aliases for this bean definition.
abstract  String getApplicationContextDisplayName()
          Display name of the application context that this Spring bean is defined in.
abstract  String getBeanClassname()
          Class name of this Spring bean, as defined in the application context of the Spring application.
abstract  String getBeanId()
          Name of the Spring bean.
abstract  String[] getDependencies()
          Get the names (ids) of other bean definitions that this bean definition depends on.
abstract  SpringBeanDependencyValue[] getDependencyValues()
          Dependency values to be injected into this bean.
abstract  String getParentId()
          Name (Id) of parent bean definition.
abstract  String getResourceDescription()
          The name of the resource that this bean definition comes from.
abstract  int getRole()
          Role hint of this bean definition.
abstract  String getScope()
          Scope of this bean.
abstract  boolean isAbstract()
          Whether this Spring bean is "abstract".
abstract  boolean isAutowireCandidate()
          Whether this bean is a candidate to be autowired to other beans.
abstract  boolean isLazyInit()
          Whether this bean should be lazily initialized.
abstract  boolean isSingleton()
          Whether this is a singleton Spring bean.

 

Methods inherited from interface weblogic.management.runtime.RuntimeMBean
addPropertyChangeListener, removePropertyChangeListener

 

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

 

Field Detail

ROLE_APPLICATION

static final int ROLE_APPLICATION
Application role hint. This bean is part of the application.
See Also:
Constant Field Values

ROLE_SUPPORT

static final int ROLE_SUPPORT
Support role hint. This bean is a supporting part of the configuration.
See Also:
Constant Field Values

ROLE_INFRASTRUCTURE

static final int ROLE_INFRASTRUCTURE
Infrastructure role hint. This bean is part of the internal workings of a set of beans.
See Also:
Constant Field Values

Method Detail

getBeanId

String getBeanId()

Name of the Spring bean.

Returns:
bean id

getAliases

String[] getAliases()

Get the aliases for this bean definition. Aliases are other names this bean definition is known by.

Returns:
aliases or empty if none.

getDependencies

String[] getDependencies()

Get the names (ids) of other bean definitions that this bean definition depends on.

Returns:
dependencies or empty if none.

getBeanClassname

String getBeanClassname()

Class name of this Spring bean, as defined in the application context of the Spring application.

Returns:
bean class name

getParentId

String getParentId()

Name (Id) of parent bean definition.

Returns:
parent id or null if there is no parent

getRole

int getRole()

Role hint of this bean definition. The role is one of ROLE_APPLICATION, ROLE_SUPPORT, or ROLE_INFRASTRUCTURE.

Returns:
role

getScope

String getScope()

Scope of this bean. The scope is "singleton", "prototype", or other web specific or user defined values.

Returns:
bean scope

isAbstract

boolean isAbstract()

Whether this Spring bean is "abstract". An abstract bean definition can be used as a base for other definitions but cannot be instantiated.

Returns:
true if the bean is abstract

isLazyInit

boolean isLazyInit()

Whether this bean should be lazily initialized. A lazy initialized bean is not created until it is needed.

Returns:
true if the bean is initialized lazily

isAutowireCandidate

boolean isAutowireCandidate()

Whether this bean is a candidate to be autowired to other beans.

Returns:
true if the bean is an autowire candidate

getResourceDescription

String getResourceDescription()

The name of the resource that this bean definition comes from. May be empty if the bean is implicitly registered.

Returns:
resource description if there is one

isSingleton

boolean isSingleton()

Whether this is a singleton Spring bean. There is just one instance of a singleton bean per bean definition per application context.

Returns:
true if the bean is a singleton

getApplicationContextDisplayName

String getApplicationContextDisplayName()

Display name of the application context that this Spring bean is defined in. The application context is the Spring Inversion of Control (IoC) container.

Returns:
application context display name

getDependencyValues

SpringBeanDependencyValue[] getDependencyValues()

Dependency values to be injected into this bean.

Returns:
dependency values

Skip navigation links

Copyright 1996, 2015, 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.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09