org.tango.server
Class InvocationContext

java.lang.Object
  extended by org.tango.server.InvocationContext

public final class InvocationContext
extends java.lang.Object

Author:
ABEILLE
See Also:
AroundInvoke

Nested Class Summary
static class InvocationContext.CallType
          Describe how the value retrieval is performed
static class InvocationContext.ContextType
          Define the possible invoke contextes.
 
Constructor Summary
InvocationContext(InvocationContext.ContextType context, InvocationContext.CallType callType, java.lang.String... names)
          Ctr
 
Method Summary
 InvocationContext.CallType getCallType()
          InvocationContext.CallType
 InvocationContext.ContextType getContext()
          InvocationContext.ContextType
 java.lang.String[] getNames()
          Command names or attributes names
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InvocationContext

public InvocationContext(InvocationContext.ContextType context,
                         InvocationContext.CallType callType,
                         java.lang.String... names)
Ctr

Parameters:
context - InvocationContext.ContextType
names - Command name or attributes names
Method Detail

getNames

public java.lang.String[] getNames()
Command names or attributes names

Returns:
Command names or attributes names

getCallType

public InvocationContext.CallType getCallType()
InvocationContext.CallType

Returns:
The call type

getContext

public InvocationContext.ContextType getContext()
InvocationContext.ContextType

Returns:
The context

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2012-2015. All Rights Reserved.