org.ow2.petals.communication.jndi.agent.msg.request
Enum RegistryRequest.RequestType

java.lang.Object
  extended by java.lang.Enum<RegistryRequest.RequestType>
      extended by org.ow2.petals.communication.jndi.agent.msg.request.RegistryRequest.RequestType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<RegistryRequest.RequestType>
Enclosing class:
RegistryRequest

public static enum RegistryRequest.RequestType
extends java.lang.Enum<RegistryRequest.RequestType>

Request types


Enum Constant Summary
addToEnvironment
           
bind
          BIND : arg1 = context name, arg2 = key, arg3 = value
createSubcontext
          CREATE SUBCONTEXT : arg1 = context name, arg2 = name of the context to create
destroySubcontext
          DESTROY SUBCONTEXT : arg1 = context name, arg2 = nam of the context to destroy
list
          LIST : arg1 = context name, arg2 = context name to list the content
listBindings
          LIST BINDINGS : arg1 = context name, arg2 = context name to list the content
lookup
          LOOKUP : arg1 = context name, arg2 = key
lookupLink
          LOOKUP LINK : arg1 = context name, arg2 = key
ping
          PING : no arguments
rebind
          REBIND : arg1 = context name, arg2 = key, arg3 = value
rename
          RENAME : arg1 = context name, arg2 = old key, arg3 = new key
unbind
          UNBIND : arg1 = context name, arg2 = key
 
Method Summary
static RegistryRequest.RequestType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static RegistryRequest.RequestType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

addToEnvironment

public static final RegistryRequest.RequestType addToEnvironment

bind

public static final RegistryRequest.RequestType bind
BIND : arg1 = context name, arg2 = key, arg3 = value


createSubcontext

public static final RegistryRequest.RequestType createSubcontext
CREATE SUBCONTEXT : arg1 = context name, arg2 = name of the context to create


destroySubcontext

public static final RegistryRequest.RequestType destroySubcontext
DESTROY SUBCONTEXT : arg1 = context name, arg2 = nam of the context to destroy


list

public static final RegistryRequest.RequestType list
LIST : arg1 = context name, arg2 = context name to list the content


listBindings

public static final RegistryRequest.RequestType listBindings
LIST BINDINGS : arg1 = context name, arg2 = context name to list the content


lookup

public static final RegistryRequest.RequestType lookup
LOOKUP : arg1 = context name, arg2 = key


lookupLink

public static final RegistryRequest.RequestType lookupLink
LOOKUP LINK : arg1 = context name, arg2 = key


ping

public static final RegistryRequest.RequestType ping
PING : no arguments


rebind

public static final RegistryRequest.RequestType rebind
REBIND : arg1 = context name, arg2 = key, arg3 = value


rename

public static final RegistryRequest.RequestType rename
RENAME : arg1 = context name, arg2 = old key, arg3 = new key


unbind

public static final RegistryRequest.RequestType unbind
UNBIND : arg1 = context name, arg2 = key

Method Detail

values

public static RegistryRequest.RequestType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (RegistryRequest.RequestType c : RegistryRequest.RequestType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static RegistryRequest.RequestType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null


Copyright © 2005-2011 Petals Link (EBM Websourcing). All Rights Reserved.