org.jomc.spi
Interface Invocation

Package class diagram package Invocation

@Generated(value="org.jomc.tools.JavaSources",
           comments="See http://jomc.sourceforge.net/jomc/1.0-alpha-11/jomc-tools")
public interface Invocation

Invocation of an object.

This specification declares a multiplicity of One. An application assembler is required to provide no more than one implementation of this specification (including none). Use of class ObjectManager is supported for getting that implementation.

 Invocation object = (Invocation) ObjectManagerFactory.getObjectManager( getClassLoader() ).getObject( Invocation.class );
 

This specification does not apply to any scope. A new object is returned whenever requested.

Version:
$Id: Invocation.java 1102 2009-12-07 03:01:58Z schulte2005 $
Author:
Christian Schulte 1.0

Method Summary
 Object[] getArguments()
          Gets the arguments of this invocation.
 Map getContext()
          Gets the context of this invocation.
 Method getMethod()
          Gets the method of this invocation.
 Object getObject()
          Gets the object of this invocation.
 Object getResult()
          Gets the result of this invocation.
 void setResult(Object value)
          Sets the result of this invocation.
 

Method Detail

getContext

Map getContext()
Gets the context of this invocation.

Returns:
The context of this invocation.

getObject

Object getObject()
Gets the object of this invocation.

Returns:
The object of this invocation.

getMethod

Method getMethod()
Gets the method of this invocation.

Returns:
The method of this invocation.

getArguments

Object[] getArguments()
Gets the arguments of this invocation.

Returns:
The arguments of this invocation or null.

getResult

Object getResult()
Gets the result of this invocation.

Returns:
The result of this invocation or null.
See Also:
setResult(java.lang.Object)

setResult

void setResult(Object value)
Sets the result of this invocation.

Parameters:
value - The new result of this invocation or null.
See Also:
getResult()


Copyright © 2005-2009 The JOMC Project. All Rights Reserved.