public class PhysicalOperation
extends java.lang.Object
implements java.lang.Comparable
| Constructor and Description |
|---|
PhysicalOperation() |
| Modifier and Type | Method and Description |
|---|---|
void |
addInterceptor(PhysicalInterceptor interceptor)
Adds an interceptor definition to the operation.
|
void |
addSourceFaultType(java.lang.Class<?> type)
Adds the fully qualified name of a source fault type for this operation.
|
void |
addSourceParameterType(java.lang.Class<?> type)
Add the fully qualified name of the source parameter type to the operation.
|
void |
addTargetFaultType(java.lang.Class<?> type)
Adds the fully qualified name of a target fault type for this operation.
|
void |
addTargetParameterType(java.lang.Class<?> type)
Add the fully qualified name of the target parameter type to the operation.
|
int |
compareTo(java.lang.Object o)
Implementation that relies on comparing a string representation of the operation name and input parameters.
|
protected java.lang.String |
getCompareString() |
java.util.Set<PhysicalInterceptor> |
getInterceptors()
Returns the interceptor definitions available for this operation.
|
java.lang.String |
getName()
Gets the name of the operation.
|
java.util.List<java.lang.Class<?>> |
getSourceFaultTypes()
Returns the fully qualified name of the source fault types.
|
java.util.List<java.lang.Class<?>> |
getSourceParameterTypes()
Returns the fully qualified name of source parameter types for this operation.
|
java.lang.Class<?> |
getSourceReturnType()
Returns the fully qualified source return type for this operation.
|
java.util.List<java.lang.Class<?>> |
getTargetFaultTypes()
Returns the fully qualified name of the target fault types.
|
java.util.List<java.lang.Class<?>> |
getTargetParameterTypes()
Returns the fully qualified name of target parameter types for this operation.
|
java.lang.Class<?> |
getTargetReturnType()
Returns the fully qualified target return type for this operation.
|
boolean |
isCallback()
Checks whether the operation is a callback.
|
boolean |
isOneWay()
Returns true if the operation is non-blocking.
|
boolean |
isRemotable()
Returns true if the operation is part of a remotable interface.
|
void |
setCallback(boolean callback)
Sets whether this is a callback operation or not.
|
void |
setInterceptors(java.util.Set<PhysicalInterceptor> interceptors)
Sets the interceptor definitions available for this operations.
|
void |
setName(java.lang.String name)
Sets the name of the operation.
|
void |
setOneWay(boolean oneWay)
Sets if the operation is non-blocking.
|
void |
setRemotable(boolean remotable)
Sets if the operation is part of a remotable interface.
|
void |
setSourceReturnType(java.lang.Class<?> type)
Sets the fully qualified source return type for this operation.
|
void |
setTargetReturnType(java.lang.Class<?> type)
Sets the fully qualified target return type for this operation.
|
public java.lang.String getName()
public void setName(java.lang.String name)
name - Operation name.public java.util.List<java.lang.Class<?>> getSourceParameterTypes()
public void addSourceParameterType(java.lang.Class<?> type)
type - the source parameter type to be added.public java.lang.Class<?> getSourceReturnType()
public void setSourceReturnType(java.lang.Class<?> type)
type - the source return type for this operation.public java.util.List<java.lang.Class<?>> getSourceFaultTypes()
public void addSourceFaultType(java.lang.Class<?> type)
type - the source fault typepublic java.util.List<java.lang.Class<?>> getTargetParameterTypes()
public void addTargetParameterType(java.lang.Class<?> type)
type - the target parameter type to be added.public java.util.List<java.lang.Class<?>> getTargetFaultTypes()
public void addTargetFaultType(java.lang.Class<?> type)
type - the target fault typepublic java.lang.Class<?> getTargetReturnType()
public void setTargetReturnType(java.lang.Class<?> type)
type - the target return type for this operation.public java.util.Set<PhysicalInterceptor> getInterceptors()
public void setInterceptors(java.util.Set<PhysicalInterceptor> interceptors)
interceptors - the interceptor definitions available for this operationspublic void addInterceptor(PhysicalInterceptor interceptor)
interceptor - Interceptor definition to be added.public boolean isCallback()
public void setCallback(boolean callback)
callback - True if this is a callback.public boolean isOneWay()
public void setOneWay(boolean oneWay)
oneWay - true if the operation is non-blockingpublic boolean isRemotable()
public void setRemotable(boolean remotable)
remotable - true if the operation is part of a remotable interfacepublic int compareTo(java.lang.Object o)
compareTo in interface java.lang.Comparableo - the operation to compare againstprotected java.lang.String getCompareString()