|
GridGain 2.0.3
Java API Specification |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gridgain.grid.gridify.GridifyArgumentAdapter
public class GridifyArgumentAdapter
Convenience adapter for GridifyArgument interface. This adapter
should be used in custom grid job implementations.
See Gridify documentation for more information about execution of
gridified methods.
See Also:
Documentation
Email Support
Online Forums
Issue Tracking
Author: 2005-2008 Copyright © GridGain Systems. All Rights Reserved. ver. 2.0.3
Gridify,
Serialized Form
![]() |
![]() |
| Constructor Summary | |
|---|---|
GridifyArgumentAdapter()
Empty constructor. |
|
GridifyArgumentAdapter(Class<?> cls,
String name,
Class<?>[] types,
Object[] params,
Object target)
Creates a fully initialized gridify argument. |
|
GridifyArgumentAdapter(GridifyArgument orig,
Object... newParams)
Copy constructor. |
|
| Method Summary | |
|---|---|
Class<?> |
getMethodClass()
Gets class to which the executed method belongs. |
String |
getMethodName()
Gets method name. |
Object[] |
getMethodParameters()
Gets method parameters in the same order they appear in method signature. |
Class<?>[] |
getMethodParameterTypes()
Gets method parameter types in the same order they appear in method signature. |
Object |
getTarget()
Gets target object for method execution. |
void |
setMethodClass(Class<?> cls)
Sets method class. |
void |
setMethodName(String mtdName)
Sets method name. |
void |
setMethodParameters(Object... params)
Sets method parameters. |
void |
setMethodParameterTypes(Class<?>... types)
Sets method parameter types. |
void |
setTarget(Object target)
Sets target object for method execution. |
String |
toString()
|
void |
updateMethodParameter(Object param,
int index)
Updates method parameter. |
void |
updateMethodParameterType(Class<?> type,
int index)
Updates parameter type. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public GridifyArgumentAdapter()
public GridifyArgumentAdapter(GridifyArgument orig,
Object... newParams)
orig - Copy to create this instance from.newParams - Optional array of new parameters to override the the ondes from orig.
public GridifyArgumentAdapter(Class<?> cls,
String name,
Class<?>[] types,
Object[] params,
Object target)
cls - Method class.name - Method name.types - Method parameter types.params - Method parameters.target - Target object.| Method Detail |
|---|
public Class<?> getMethodClass()
getMethodClass in interface GridifyArgumentpublic String getMethodName()
getMethodName in interface GridifyArgumentpublic Class<?>[] getMethodParameterTypes()
getMethodParameterTypes in interface GridifyArgumentpublic Object[] getMethodParameters()
getMethodParameters in interface GridifyArgumentpublic void setMethodClass(Class<?> cls)
cls - Method class.public void setMethodName(String mtdName)
mtdName - Method name.public void setMethodParameterTypes(Class<?>... types)
types - Method parameter types.
public void updateMethodParameterType(Class<?> type,
int index)
type - Parameter type to set.index - Index of the parameter.public void setMethodParameters(Object... params)
params - Method parameters.
public void updateMethodParameter(Object param,
int index)
param - Method parameter value to set.index - Parameter's index.public void setTarget(Object target)
target - Target object for method execution.public Object getTarget()
getTarget in interface GridifyArgumentpublic String toString()
toString in class Object
|
GridGain 2.0.3
Java API Specification |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
|
GridGain - Grid Computing Made Simple, ver. 2.0.3.20052008
2005-2008 Copyright © GridGain Systems. All Rights Reserved. |
|