-
- All Superinterfaces:
- Serializable
public interface HandlerRegistry extends Serializable
Thejavax.xml.rpc.handler.HandlerRegistry
provides support for the programmatic configuration of handlers in aHandlerRegistry
.A handler chain is registered per service endpoint, as indicated by the qualified name of a port. The getHandlerChain returns the handler chain (as a java.util.List) for the specified service endpoint. The returned handler chain is configured using the java.util.List interface. Each element in this list is required to be of the Java type
javax.xml.rpc.handler.HandlerInfo
.- Version:
- 1.0
- Author:
- Rahul Sharma
- See Also:
Service
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description List
getHandlerChain(QName portName)
Gets the handler chain for the specified service endpoint.void
setHandlerChain(QName portName, List chain)
Sets the handler chain for the specified service endpoint as ajava.util.List
.
-
-
-
Method Detail
-
getHandlerChain
List getHandlerChain(QName portName)
Gets the handler chain for the specified service endpoint. The returnedList
is used to configure this specific handler chain in thisHandlerRegistry
. Each element in this list is required to be of the Java typejavax.xml.rpc.handler.HandlerInfo
.- Parameters:
portName
- Qualified name of the target service endpoint- Returns:
- java.util.List Handler chain
- Throws:
IllegalArgumentException
- If an invalidportName
is specified
-
setHandlerChain
void setHandlerChain(QName portName, List chain)
Sets the handler chain for the specified service endpoint as ajava.util.List
. Each element in this list is required to be of the Java typejavax.xml.rpc.handler.HandlerInfo
.- Parameters:
portName
- Qualified name of the target service endpointchain
- A List representing configuration for the handler chain- Throws:
JAXRPCException
- If any error in the configuration of the handler chainUnsupportedOperationException
- If this set operation is not supported. This is done to avoid any overriding of a pre-configured handler chain.IllegalArgumentException
- If an invalidportName
is specified
-
-
Traduction non disponible
Les API Java ne sont pas encore traduites en français sur l'infobrol. Seule la version anglaise est disponible pour l'instant.
Version en cache
21/08/2025 17:20:06 Cette version de la page est en cache (à la date du 21/08/2025 17:20:06) afin d'accélérer le traitement.Vous pouvez activer le mode utilisateur dans le menu en haut pour afficher la version plus récente de la page.
Document créé le 18/04/2008, dernière modification le 18/08/2025
Source du document imprimé : https://www.gaudry.be/java-api-javaee-rf-javax/xml/rpc/handler/HandlerRegistry.html
L'infobrol est un site personnel dont le contenu n'engage que moi. Le texte est mis à disposition sous licence CreativeCommons(BY-NC-SA). Plus d'info sur les conditions d'utilisation et sur l'auteur.
Références
Ces références et liens indiquent des documents consultés lors de la rédaction de cette page, ou qui peuvent apporter un complément d'information, mais les auteurs de ces sources ne peuvent être tenus responsables du contenu de cette page.
L'auteur de ce site est seul responsable de la manière dont sont présentés ici les différents concepts, et des libertés qui sont prises avec les ouvrages de référence. N'oubliez pas que vous devez croiser les informations de sources multiples afin de diminuer les risques d'erreurs.