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 SpringBeanDependencyValue


public interface SpringBeanDependencyValue

A simple value object that holds the string representation of a value that is injected into a Spring bean. Values can be injected into a Spring bean in one of two ways:

  1. Constructor injection. This includes Spring beans that are created through a factory method.
  2. Property Setter injection.
Since:
10.3.0.0

Field Summary
static int INJECTION_TYPE_CONSTRUCTOR_ARG
           
static int INJECTION_TYPE_PROPERTY
           

 

Method Summary
abstract  int getInjectionType()
          Dependecy injection can be done with property setters or constructor arguments.
abstract  String getKey()
          The key identifies which dependency value this is.
abstract  String getStringValue()
          The string representation of the dependency value.

 

Field Detail

INJECTION_TYPE_CONSTRUCTOR_ARG

static final int INJECTION_TYPE_CONSTRUCTOR_ARG
See Also:
Constant Field Values

INJECTION_TYPE_PROPERTY

static final int INJECTION_TYPE_PROPERTY
See Also:
Constant Field Values

Method Detail

getInjectionType

int getInjectionType()

Dependecy injection can be done with property setters or constructor arguments. The injection type is one of INJECTION_TYPE_CONSTRUCTOR_ARG or INJECTION_TYPE_PROPERTY.

Returns:
One of the injection type constants.

getKey

String getKey()

The key identifies which dependency value this is.

For property setter injection the key is the property name to set. For constructor injection the key is either the index or the type of the constructor argument.

Returns:
key

getStringValue

String getStringValue()

The string representation of the dependency value.

Returns:
Dependency value.

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