|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
*
Handlers interface represents the chain of the jax-rpc handlers either for the service endpoint or for the client.
Method Summary | |
WaspHandlerInfo |
get(int position)
Retrieves configuration of handler on given position. |
int |
insert(Handler handler)
Inserts given handler instance at the end of handler chain of given processing. |
int |
insert(Handler handler,
int position)
Inserts given handler instance on the specified position of handler chain of given processing. |
int |
insert(Handler handler,
QName[] understands)
Inserts given handler instance at the end of handler chain of given processing. |
int |
insert(Handler handler,
QName[] understands,
int position)
Inserts given handler instance on the specified position of handler chain of given processing. |
int |
insert(WaspHandlerInfo handlerInfo)
Inserts handler customized by given handlerInfo at the end of chain of given processing. |
int |
insert(WaspHandlerInfo handlerInfo,
int position)
Inserts handler customized by given handlerInfo on the specified position of chain of given processing. |
boolean |
remove(int position)
Removes handler from the handler chain found on given position. |
boolean |
remove(WaspHandlerInfo handlerInfo)
Removes handler from the handler chain of given processing. |
int |
size()
Retrieves number of handlers in the handler chain of given processing. |
Method Detail |
public int insert(Handler handler)
handler
- handler instance
public int insert(Handler handler, int position) throws java.lang.IndexOutOfBoundsException
handler
- handler instanceposition
- position handler should be inserted on
java.lang.IndexOutOfBoundsException
- if position is if out of range (position < 0 || position > size())public int insert(Handler handler, QName[] understands)
handler
- handler instance
public int insert(Handler handler, QName[] understands, int position) throws java.lang.IndexOutOfBoundsException
handler
- handler instanceposition
- position handler should be inserted on
java.lang.IndexOutOfBoundsException
- if position is if out of range (position < 0 || position > size())public int insert(WaspHandlerInfo handlerInfo)
handlerInfo
- handler configuration
public int insert(WaspHandlerInfo handlerInfo, int position) throws java.lang.IndexOutOfBoundsException
handlerInfo
- handler configurationposition
- position handler should be inserted on
java.lang.IndexOutOfBoundsException
- if position is if out of range (position < 0 || position > size())public boolean remove(WaspHandlerInfo handlerInfo)
handlerInfo
- handler to
true
means success, false
otherwisepublic boolean remove(int position) throws java.lang.IndexOutOfBoundsException
position
-
true
means success, false
otherwise
java.lang.IndexOutOfBoundsException
- if position is if out of range (position < 0 || position > size())public int size()
public WaspHandlerInfo get(int position) throws java.lang.IndexOutOfBoundsException
position
- position of handler
java.lang.IndexOutOfBoundsException
- if position is if out of range (position < 0 || position > size())
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |