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

Part Number E27170-01

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.


Field Summary
static int INJECTION_TYPE_CONSTRUCTOR_ARG
           
static int INJECTION_TYPE_PROPERTY
           
 
Method Summary
 int getInjectionType()
          Dependecy injection can be done with property setters or constructor arguments.
 String getKey()
          The key identifies which dependency value this is.
 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.

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-01