org.logicblaze.lingo
Class MethodMetadata

java.lang.Object
  extended by org.logicblaze.lingo.MethodMetadata
All Implemented Interfaces:
java.io.Serializable

public class MethodMetadata
extends java.lang.Object
implements java.io.Serializable

Represents the Message Exchange Pattern characteristics of a specific method invocation.

Version:
$Revision: 68 $
See Also:
Serialized Form

Constructor Summary
MethodMetadata(boolean oneWay)
           
MethodMetadata(boolean oneWay, boolean[] remoteParameters)
           
MethodMetadata(boolean oneWay, boolean[] remoteParameters, boolean stateful, boolean endSession)
           
 
Method Summary
 boolean isEndSession()
          Returns whether or not this method ends the session if used on a callback object.
 boolean isOneWay()
           
 boolean isRemoteParameter(int i)
          Returns true if the parameter at the given index is remote method
 boolean isStateful()
          Should sticky load balancing be used to refer to a remote stateful service
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethodMetadata

public MethodMetadata(boolean oneWay)

MethodMetadata

public MethodMetadata(boolean oneWay,
                      boolean[] remoteParameters)

MethodMetadata

public MethodMetadata(boolean oneWay,
                      boolean[] remoteParameters,
                      boolean stateful,
                      boolean endSession)
Method Detail

isOneWay

public boolean isOneWay()

isRemoteParameter

public boolean isRemoteParameter(int i)
Returns true if the parameter at the given index is remote method


isStateful

public boolean isStateful()
Should sticky load balancing be used to refer to a remote stateful service


isEndSession

public boolean isEndSession()
Returns whether or not this method ends the session if used on a callback object. e.g. does this method terminate the use of a callback object



Copyright © 2009 LogicBlaze, Inc.. All Rights Reserved.