org.jboss.cache.marshall
Class MethodCallFactory
java.lang.Object
org.jboss.cache.marshall.MethodCallFactory
public class MethodCallFactory
- extends Object
Factory class to create instances of org.jboss.cache.marshall.MethodCall
- Version:
- $Revision: 4977 $
- Author:
- Galder Zamarreno
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MethodCallFactory
public MethodCallFactory()
create
public static MethodCall create(int methodId,
Object... arguments)
- Creates and initialised an instance of MethodCall.
- Parameters:
methodId
- Method ID of the MethodCallarguments
- list of parameters
- Returns:
- a new instance of MethodCall with the method id initialised
createWithNullId
public static MethodCall createWithNullId(Method method,
Object... arguments)
- Creates and initialised an instance of MethodCall
- Parameters:
method
- Method instance of the MethodCallarguments
- list of parameters
- Returns:
- a new instance of MethodCall with the method id set to -1 (uninitialized).
Copyright © 2008 JBoss, a division of Red Hat. All Rights Reserved.