mx4j.tools.adaptor.interceptor

Class Invocation

Implemented Interfaces:
Serializable

public class Invocation
extends java.lang.Object
implements Serializable

The invocation information carrier.

Version:
$Revision: 1.3 $

Field Summary

static String
CLASSLOADER_LOADER
static String
CLASSLOADER_MBEAN
static String
CLASSLOADER_MBEANSERVER
static String
CLASSLOADER_REPOSITORY

Method Summary

Object[]
getArguments()
Returns the invocation method arguments
String
getClassLoaderKey()
Returns the key used to identify the classloader to be used as context classloader
InvocationContext
getInvocationContext()
Returns the invocation user-defined information
String
getMethodName()
Returns the invocation method name
javax.management.ObjectName
getObjectNameForClassLoader()
Returns the object name to be used to retrieve the classloader used as context classloader
String[]
getSignature()
Returns the invocation method signature
void
setArguments(Object[] args)
Sets the arguments of the method to be invoked on the server-side
void
setClassLoaderKey(String key)
Sets the key used to identify the classloader to be used as context classloader
void
setInvocationContext(InvocationContext context)
Sets the invocation user-defined information
void
setMethodName(String name)
Sets the method name to be invoked on the server-side
void
setObjectNameForClassLoader(javax.management.ObjectName name)
Sets the object name to be used to retrieve the classloader used as context classloader
void
setSignature(String[] signature)
Sets the signature of the method to be invoked on the server-side

Field Details

CLASSLOADER_LOADER

public static final String CLASSLOADER_LOADER


CLASSLOADER_MBEAN

public static final String CLASSLOADER_MBEAN


CLASSLOADER_MBEANSERVER

public static final String CLASSLOADER_MBEANSERVER


CLASSLOADER_REPOSITORY

public static final String CLASSLOADER_REPOSITORY

Method Details

getArguments

public Object[] getArguments()
Returns the invocation method arguments


getClassLoaderKey

public String getClassLoaderKey()
Returns the key used to identify the classloader to be used as context classloader

See Also:
setClassLoaderKey(String)


getInvocationContext

public InvocationContext getInvocationContext()
Returns the invocation user-defined information

See Also:
setInvocationContext(InvocationContext)


getMethodName

public String getMethodName()
Returns the invocation method name


getObjectNameForClassLoader

public javax.management.ObjectName getObjectNameForClassLoader()
Returns the object name to be used to retrieve the classloader used as context classloader

See Also:
setObjectNameForClassLoader(ObjectName)


getSignature

public String[] getSignature()
Returns the invocation method signature


setArguments

public void setArguments(Object[] args)
Sets the arguments of the method to be invoked on the server-side

See Also:
setMethodName(String)


setClassLoaderKey

public void setClassLoaderKey(String key)
Sets the key used to identify the classloader to be used as context classloader

See Also:
getClassLoaderKey()


setInvocationContext

public void setInvocationContext(InvocationContext context)
Sets the invocation user-defined information

See Also:
getInvocationContext()


setMethodName

public void setMethodName(String name)
Sets the method name to be invoked on the server-side

See Also:
setSignature(String[])


setObjectNameForClassLoader

public void setObjectNameForClassLoader(javax.management.ObjectName name)
Sets the object name to be used to retrieve the classloader used as context classloader

See Also:
getObjectNameForClassLoader()


setSignature

public void setSignature(String[] signature)
Sets the signature of the method to be invoked on the server-side

See Also:
setArguments(Object[])


Copyright © 2001-2003 MX4J Team. All Rights Reserved.