|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.spicefactory.cinnamon.config.OperationConfig
public class OperationConfig
Represents a single operation of a service.
The name of the operation is usually the method name of the Java service interface. Since methods can be overloaded in Java but not in AS3, you can use the alias property to specify a different name for the method in the client side service interface. Usually name and alias property have the same value.
| Constructor Summary | |
|---|---|
OperationConfig(String name,
String alias,
Class<?>[] paramTypes)
Create a new OperationConfig instance for the given operation name an parameter types. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object other)
|
String |
getAlias()
Returns the alias of the operation (the client side method name). |
String |
getName()
Returns the name of the operation (the server side method name). |
Class<?>[] |
getParameterTypes()
Returns the parameter types of this operation. |
int |
hashCode()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public OperationConfig(String name,
String alias,
Class<?>[] paramTypes)
name - the name of the operation (the server side method name)alias - the alias of the operation (the client side method name)paramTypes - the parameter types of the operation| Method Detail |
|---|
public String getName()
public String getAlias()
public Class<?>[] getParameterTypes()
public int hashCode()
hashCode in class Objectpublic boolean equals(Object other)
equals in class Objectpublic String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||