Oracle Application Server Wireless Java API Reference
B14043-01


oracle.panama
Interface AsyncArguments


public interface AsyncArguments

Container for storing Async Argument's


Method Summary
 AsyncArgument createAsyncArgument(int index, java.lang.String name)
          Creates a new Async Argument and inserts it at the specified index in the container
 AsyncArgument createAsyncArgument(int index, java.lang.String name, java.lang.String value)
          Creates a new Async Argument and inserts it at the specified index in the container
 AsyncArgument createAsyncArgument(java.lang.String name)
          Creates a new Async Argument and inserts it at the end of async arguments in the container
 AsyncArgument createAsyncArgument(java.lang.String name, java.lang.String value)
          Creates a new Async Argument and inserts it at the end of async arguments in the container
 AsyncArgument get(int index)
          Returns the async argument at the specified index
 AsyncArgument get(java.lang.String name)
          Returns the async argument
 AsyncArgument remove(int index)
          Removes the async argument at the specified index
 AsyncArgument remove(java.lang.String name)
          Removes the async argument from this container.
 int size()
           

 

Method Detail

createAsyncArgument

public AsyncArgument createAsyncArgument(int index,
                                         java.lang.String name)
Creates a new Async Argument and inserts it at the specified index in the container
Parameters:
index - the index at which the created async argument is to be inserted
name - the name of the async argument
Returns:
the created async argument
Throws:
PanamaRuntimeException - if an async argument with same name exists in the container, or if index is less than zero or greater than the size of the container

createAsyncArgument

public AsyncArgument createAsyncArgument(int index,
                                         java.lang.String name,
                                         java.lang.String value)
Creates a new Async Argument and inserts it at the specified index in the container
Parameters:
index - the index at which the created async argument is to be inserted
name - the name of the async argument
value - the value of the async argument
Returns:
the created async argument
Throws:
PanamaRuntimeException - if an async argument with same name exists in the container, or if index is less than zero or greater than the size of the container

createAsyncArgument

public AsyncArgument createAsyncArgument(java.lang.String name)
Creates a new Async Argument and inserts it at the end of async arguments in the container
Parameters:
name - the name of the async argument
Returns:
the created async argument
Throws:
PanamaRuntimeException - if an async argument with same name exists in the container

createAsyncArgument

public AsyncArgument createAsyncArgument(java.lang.String name,
                                         java.lang.String value)
Creates a new Async Argument and inserts it at the end of async arguments in the container
Parameters:
name - the name of the async argument
value - the value of the async argument
Returns:
the created async argument
Throws:
PanamaRuntimeException - if an async argument with same name exists in the container

get

public AsyncArgument get(int index)
Returns the async argument at the specified index
Parameters:
index - the index of the async argument
Returns:
AsyncArgument the async argument

get

public AsyncArgument get(java.lang.String name)
Returns the async argument
Parameters:
name - the async argument name
Returns:
AsyncArgument the async argument

remove

public AsyncArgument remove(int index)
Removes the async argument at the specified index
Parameters:
index - the index of the async argument
Returns:
AsyncArgument the removed async argument

remove

public AsyncArgument remove(java.lang.String name)
Removes the async argument from this container.
Parameters:
name - name of the async argument
Returns:
AsyncArgument the removed async argument

size

public int size()
Returns:
the number of async argument's

Oracle Application Server Wireless Java API Reference
B14043-01


Copyright © 2004 Oracle Corporation. All Rights Reserved.