org.jomc.ri
Class DefaultInvocation

Package class diagram package DefaultInvocation
java.lang.Object
  extended by org.jomc.ri.DefaultInvocation
All Implemented Interfaces:
Invocation

@Generated(value="org.jomc.tools.SourceFileProcessor 1.2.2",
           comments="See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2")
public class DefaultInvocation
extends Object
implements Invocation

Default Invocation implementation.

Identifier:
org.jomc.ri.DefaultInvocation
Name:
JOMC RI
Abstract:
No
Final:
No
Stateless:
No

Version:
1.0
Author:
Christian Schulte 1.0

Field Summary
static String ARGUMENTS_KEY
          Constant for the context key of the Object[] arguments of this invocation.
static String CLASSLOADER_KEY
          Constant for the context key of the ClassLoader corresponding to the modules of this invocation.
static String INSTANCE_KEY
          Constant for the context key of the Instance corresponding to the object of this invocation.
static String METHOD_KEY
          Constant for the context key of the Method of this invocation.
static String MODULES_KEY
          Constant for the context key of the Modules corresponding to the object of this invocation.
static String OBJECT_KEY
          Constant for the context key of the Object of this invocation.
static String RESULT_KEY
          Constant for the context key of the result Object of this invocation.
 
Constructor Summary
DefaultInvocation()
          Creates a new DefaultInvocation instance.
DefaultInvocation(Invocation invocation)
          Creates a new DefaultInvocation instance taking an invocation to initialize the instance with.
 
Method Summary
 Object[] getArguments()
           
 ClassLoader getClassLoader()
          Gets the class loader corresponding to the modules of this invocation from the context of this invocation.
 Map getContext()
           
 Instance getInstance()
          Gets the instance of the object of this invocation from the context of this invocation.
 Method getMethod()
           
 Modules getModules()
          Gets the modules corresponding to the object of this invocation from the context of this invocation.
 Object getObject()
           
 Object getResult()
           
 void setResult(Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OBJECT_KEY

public static final String OBJECT_KEY
Constant for the context key of the Object of this invocation.

See Also:
Constant Field Values

METHOD_KEY

public static final String METHOD_KEY
Constant for the context key of the Method of this invocation.

See Also:
Constant Field Values

ARGUMENTS_KEY

public static final String ARGUMENTS_KEY
Constant for the context key of the Object[] arguments of this invocation.

See Also:
Constant Field Values

RESULT_KEY

public static final String RESULT_KEY
Constant for the context key of the result Object of this invocation.

See Also:
Constant Field Values

INSTANCE_KEY

public static final String INSTANCE_KEY
Constant for the context key of the Instance corresponding to the object of this invocation.

See Also:
Constant Field Values

MODULES_KEY

public static final String MODULES_KEY
Constant for the context key of the Modules corresponding to the object of this invocation.

See Also:
Constant Field Values

CLASSLOADER_KEY

public static final String CLASSLOADER_KEY
Constant for the context key of the ClassLoader corresponding to the modules of this invocation.

See Also:
Constant Field Values
Constructor Detail

DefaultInvocation

public DefaultInvocation(Invocation invocation)
Creates a new DefaultInvocation instance taking an invocation to initialize the instance with.

Parameters:
invocation - The invocation to initialize the instance with.

DefaultInvocation

@Generated(value="org.jomc.tools.SourceFileProcessor 1.2.2",
           comments="See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2")
public DefaultInvocation()
Creates a new DefaultInvocation instance.

Method Detail

getContext

public Map getContext()
Specified by:
getContext in interface Invocation

getObject

public Object getObject()
Specified by:
getObject in interface Invocation

getMethod

public Method getMethod()
Specified by:
getMethod in interface Invocation

getArguments

public Object[] getArguments()
Specified by:
getArguments in interface Invocation

getResult

public Object getResult()
Specified by:
getResult in interface Invocation

setResult

public void setResult(Object value)
Specified by:
setResult in interface Invocation

getInstance

public Instance getInstance()
Gets the instance of the object of this invocation from the context of this invocation.

Returns:
The instance of the object of this invocation from the context of this invocation or null.
See Also:
INSTANCE_KEY

getModules

public Modules getModules()
Gets the modules corresponding to the object of this invocation from the context of this invocation.

Returns:
The modules corresponding to the object of this invocation from the context of this invocation or null.
See Also:
MODULES_KEY

getClassLoader

public ClassLoader getClassLoader()
Gets the class loader corresponding to the modules of this invocation from the context of this invocation.

Returns:
The class loader corresponding to the modules of this invocation from the context of this invocation or null.
See Also:
CLASSLOADER_KEY


Copyright © 2005-2012 The JOMC Project. All Rights Reserved.Get JOMC at SourceForge.net. Fast, secure and Free Open Source software downloads
Please note that this documentation is maintained by non-native english speaking authors. As such, you may encounter phrases or wordings which seem imprecise or may even have a totally different meaning to native english speaking readers than what the individual author was trying to express. If you are a native english speaking reader and find any such phrases or wordings we kindly ask you to send an email to the corresponding author and help us improve this documentation in order to avoid misunderstandings. You will find the authors' email addresses at the top of each class. Please accept our apologies for any inconvenience caused.