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

Part Number E27170-02

weblogic.management.runtime
Interface SpringBeanDefinitionRuntimeMBean

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

public interface SpringBeanDefinitionRuntimeMBean
extends RuntimeMBean


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

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

Copyright 1996, 2013, 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.2)

Part Number E27170-02