org.apache.axis2.jaxws.description
Enum DescriptionFactory.UpdateType

java.lang.Object
  extended by java.lang.Enum<DescriptionFactory.UpdateType>
      extended by org.apache.axis2.jaxws.description.DescriptionFactory.UpdateType
All Implemented Interfaces:
Serializable, Comparable<DescriptionFactory.UpdateType>
Enclosing class:
DescriptionFactory

public static enum DescriptionFactory.UpdateType
extends Enum<DescriptionFactory.UpdateType>

The type of update being done for a particular Port. This is used by the JAX-WS service delegate on the CLIENT side. This is used as a parameter to the updateEndpoint factory method. An EndpointDescription will be returned corresponding to the port. GET_PORT: Return an SEI-based pre-existing port ADD_PORT: Return a Dispatch-only non-pre-existing port CREATE_DISPATCH: Return a Dispatch port; this is valid on either a pre-existing port (e.g. GET_PORT) or dynamic port (ADD_PORT)


Enum Constant Summary
ADD_PORT
           
CREATE_DISPATCH
           
GET_PORT
           
 
Method Summary
static DescriptionFactory.UpdateType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static DescriptionFactory.UpdateType[] 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

GET_PORT

public static final DescriptionFactory.UpdateType GET_PORT

ADD_PORT

public static final DescriptionFactory.UpdateType ADD_PORT

CREATE_DISPATCH

public static final DescriptionFactory.UpdateType CREATE_DISPATCH
Method Detail

values

public static DescriptionFactory.UpdateType[] 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 (DescriptionFactory.UpdateType c : DescriptionFactory.UpdateType.values())
    System.out.println(c);

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

valueOf

public static DescriptionFactory.UpdateType valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.