Overview | Package | Class | Tree | Deprecated | Index | Help
| Spring Framework
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.springframework.expression
Interface ConstructorExecutor

    public interface ConstructorExecutor

Executors are built by resolvers and can be cached by the infrastructure to repeat an operation quickly without going back to the resolvers. For example, the particular constructor to run on a class may be discovered by the reflection constructor resolver - it will then build a ConstructorExecutor that executes that constructor and the ConstructorExecutor can be reused without needing to go back to the resolver to discover the constructor again. They can become stale, and in that case should throw an AccessException - this will cause the infrastructure to go back to the resolvers to ask for a new one.

Since:
  3.0
Author:
  Andy Clement

Method Summary
`TypedValue` | `execute(EvaluationContext context, java.lang.Object... arguments)` Execute a constructor in the specified context using the specified arguments.

Method Detail

### execute

    TypedValue execute(EvaluationContext context,
                       java.lang.Object... arguments)
                       throws AccessException

  Execute a constructor in the specified context using the specified arguments.

  Parameters:
    `context` - the evaluation context in which the command is being executed
    `arguments` - the arguments to the constructor call, should match (in terms of number and type) whatever the command will need to run
  Returns:
    the new object
  Throws:
    `AccessException` - if there is a problem executing the command or the CommandExecutor is no longer valid

Overview | Package | Class | Tree | Deprecated | Index | Help
| Spring Framework
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD