org.apache.axis.registries
Interface HandlerRegistry

All Known Implementing Classes:
SimpleRegistry, SupplierRegistry

public interface HandlerRegistry

Author:
Doug Davis (dug@us.ibm.com)

Method Summary
 void add(java.lang.String key, Handler handler)
          Add a new Handler to the registry.
 Handler find(java.lang.String key)
          Given a 'key' return the corresponding Handler
 java.lang.String[] list()
          Return the list (in an array) of keys for the Handlers
 Handler remove(java.lang.String key)
          Remove a Handler (locate by key) from the registry - returns old value if it was there - or null if not.
 

Method Detail

add

public void add(java.lang.String key,
                Handler handler)
Add a new Handler to the registry.

remove

public Handler remove(java.lang.String key)
Remove a Handler (locate by key) from the registry - returns old value if it was there - or null if not.

find

public Handler find(java.lang.String key)
Given a 'key' return the corresponding Handler

list

public java.lang.String[] list()
Return the list (in an array) of keys for the Handlers


Copyright © 2001 Apache XML Project. All Rights Reserved.