API java : ServiceBinding


javax.xml.registry.infomodel
Interface ServiceBinding

All Superinterfaces:
ExtensibleObject, RegistryObject, URIValidator

public interface ServiceBinding
extends RegistryObject, URIValidator

ServiceBinding instances are RegistryObjects that represent technical information on a specific way to access a specific interface offered by a Service instance. A ServiceBinding may have a set of SpecificationLink instances. Maps to a BindingTemplate in UDDI.

Author:
Farrukh S. Najmi
See Also:
Concept

Method Summary
 void addSpecificationLink(SpecificationLink specificationLink)
          Adds a child SpecificationLink.
 void addSpecificationLinks(Collection specificationLinks)
          Adds a Collection of SpecificationLink children.
 String getAccessURI()
          Gets the URI that gives access to the service via this binding.
 Service getService()
          Gets the parent service for which this is a binding.
 Collection getSpecificationLinks()
          Gets all children SpecificationLinks.
 ServiceBinding getTargetBinding()
          Gets the next ServiceBinding in case there is a redirection from one service provider to another service provider.
 void removeSpecificationLink(SpecificationLink specificationLink)
          Removes a child SpecificationLink.
 void removeSpecificationLinks(Collection specificationLinks)
          Removes a Collection of children SpecificationLinks.
 void setAccessURI(String uri)
          Sets the URI that gives access to the service via this binding.
 void setTargetBinding(ServiceBinding binding)
          Sets the next ServiceBinding in case there is a redirection.
 
Methods inherited from interface javax.xml.registry.infomodel.RegistryObject
addAssociation, addAssociations, addClassification, addClassifications, addExternalIdentifier, addExternalIdentifiers, addExternalLink, addExternalLinks, getAssociatedObjects, getAssociations, getAuditTrail, getClassifications, getDescription, getExternalIdentifiers, getExternalLinks, getKey, getLifeCycleManager, getName, getObjectType, getRegistryPackages, getSubmittingOrganization, removeAssociation, removeAssociations, removeClassification, removeClassifications, removeExternalIdentifier, removeExternalIdentifiers, removeExternalLink, removeExternalLinks, setAssociations, setClassifications, setDescription, setExternalIdentifiers, setExternalLinks, setKey, setName, toXML
 
Methods inherited from interface javax.xml.registry.infomodel.ExtensibleObject
addSlot, addSlots, getSlot, getSlots, removeSlot, removeSlots
 
Methods inherited from interface javax.xml.registry.infomodel.URIValidator
getValidateURI, setValidateURI
 

Method Detail

getAccessURI

String getAccessURI()
                    throws JAXRException
Gets the URI that gives access to the service via this binding. Default is a NULL String.

Capability Level: 0

Returns:
the URI that gives access to the service via this binding
Throws:
JAXRException - If the JAXR provider encounters an internal error

setAccessURI

void setAccessURI(String uri)
                  throws JAXRException
Sets the URI that gives access to the service via this binding. The accessURI is mutually exclusive from targetBinding. JAXR Provider must throw an InvalidRequestException if an accessURI is set when there is already a non-null targetBinding defined.

Capability Level: 0

Parameters:
uri - the URI that gives access to the service via this binding
Throws:
JAXRException - If the JAXR provider encounters an internal error

getTargetBinding

ServiceBinding getTargetBinding()
                                throws JAXRException
Gets the next ServiceBinding in case there is a redirection from one service provider to another service provider.

Capability Level: 0

Returns:
the next ServiceBinding in case there is a service redirection
Throws:
JAXRException - If the JAXR provider encounters an internal error

setTargetBinding

void setTargetBinding(ServiceBinding binding)
                      throws JAXRException
Sets the next ServiceBinding in case there is a redirection. The targetBinding is mutually exclusive from the accessURI. JAXR Provider must throw an InvalidRequestExcpetion if a targetBinding is set when there is already a non-null accessURI defined.

Capability Level: 0

Parameters:
binding - the target ServiceBinding to which this object is redirected to
Throws:
JAXRException - If the JAXR provider encounters an internal error

getService

Service getService()
                   throws JAXRException
Gets the parent service for which this is a binding.

Capability Level: 0

Returns:
the parent Service object
Throws:
JAXRException - If the JAXR provider encounters an internal error

addSpecificationLink

void addSpecificationLink(SpecificationLink specificationLink)
                          throws JAXRException
Adds a child SpecificationLink.

Capability Level: 0

Parameters:
specificationLink - the SpecificationLink being added
Throws:
JAXRException - If the JAXR provider encounters an internal error

addSpecificationLinks

void addSpecificationLinks(Collection specificationLinks)
                           throws JAXRException
Adds a Collection of SpecificationLink children.

Capability Level: 0

Parameters:
specificationLinks - the Collection of SpecificationLinks being added
Throws:
JAXRException - If the JAXR provider encounters an internal error

removeSpecificationLink

void removeSpecificationLink(SpecificationLink specificationLink)
                             throws JAXRException
Removes a child SpecificationLink.

Capability Level: 0

Parameters:
specificationLink - the SpecificationLink being removed
Throws:
JAXRException - If the JAXR provider encounters an internal error

removeSpecificationLinks

void removeSpecificationLinks(Collection specificationLinks)
                              throws JAXRException
Removes a Collection of children SpecificationLinks.

Capability Level: 0

Parameters:
specificationLinks - the Collection of SpecificationLinks being removed
Throws:
JAXRException - If the JAXR provider encounters an internal error

getSpecificationLinks

Collection getSpecificationLinks()
                                 throws JAXRException
Gets all children SpecificationLinks.

Capability Level: 0

Returns:
Collection of SpecificationLink instances. The Collection may be empty but not null.
Throws:
JAXRException - If the JAXR provider encounters an internal error
See Also:
SpecificationLink

Ces informations proviennent du site de http://java.sun.com

Remarques

Contenu

Le contenu de cette page provient du site de Sun, et est généré depuis un cache sur l'infobrol après certains traitements automatisés. La présentation peut donc différer du document original, mais le contenu aussi. Vous pouvez utiliser ce bouton pour afficher la page originale du site de Sun :

Quels sont les motivations de cette démarche?

Maintenir les pages en cache sur différents sites peut offrir plus de disponibilité.

Chaque page est indexée dans la base de donnée, ce qui permet de retrouver facilement les informations, au moyen des sommaires, du moteur de recherche interne, etc.

Des facilités sont mises en place pour que les membres de l'infobrol puissent effectuer des traductions en français des différents documents. Ceci devrait permettre aux débutants en programmation Java de consulter les API en français s'ils maîtrisent moins bien la langue de Shakespeare. Dans le cas où une traduction a été soumise, elle est disponible au moyen d'un lien en bas de page. Si la traduction a été validée, la page s'affiche par défaut en français, et un lien en bas de page permet d'atteindre la version en anglais.

Le code sur l'infobrol est automatiquement coloré selon la syntaxe, et les différents mots clés sont transformés en liens pour accéder rapidement aux informations.

Vous avez la possibilité de partager vos expériences en proposant vos propres extraits de code en utilisant le bouton "ajouter un commentaire" en bas de page. Si vous visitez simplement l'infobrol, vous avez déjà accès à cette fonction, mais si vous étes membre du brol, vous pouvez en plus utiliser des boutons supplémentaires de mise en forme, dont la coloration automatique de vos extraits de codes.

Réseaux sociaux

Vous pouvez modifier vos préférences dans votre profil pour ne plus afficher les interactions avec les réseaux sociaux sur ces pages.

 

Nuage de mots clés

8 mots clés dont 0 définis manuellement (plus d'information...).

Avertissement

Cette page ne possède pas encore de mots clés manuels, ceci est donc un exemple automatique (les niveaux de pertinence sont fictifs, mais les liens sont valables). Pour tester le nuage avec une page qui contient des mots définis manuellement, vous pouvez cliquer ici.

Vous pouvez modifier vos préférences dans votre profil pour ne plus afficher le nuage de mots clés.

 

Astuce pour imprimer les couleurs des cellules de tableaux : http://www.gaudry.be/ast-rf-450.html
Aucun commentaire pour cette page

© Ce document issu de l′infobrol est enregistré sous le certificat Cyber PrInterDeposit Digital Numbertection. Enregistrement IDDN n° 5329-12942
Document créé le 18/04/08 23:05, dernière modification le Vendredi 17 Juin 2011, 12:12
Source du document imprimé : http://www.gaudry.be/java-api-javaee-rf-javax/xml/registry/infomodel/ServiceBinding.html Document affiché 1 fois ce mois de Juin.
St.Gaudry©07.01.02
Outils (masquer)
||
Recherche (afficher)
Recherche :

Utilisateur (masquer)
Apparence (afficher)
Stats (afficher)
15832 documents
452 astuces.
549 niouzes.
3099 definitions.
447 membres.
8115 messages.

Document genere en :
0,67 seconde

Mises à jour :
Mises à jour du site
Citation (masquer)
Le rire est le meilleur cadeau que nous puissions faire aux autres.

Dulce Maria Cardoso [Extrait de Les Anges, Violeta]
 
l'infobrol
Nous sommes le Vendredi 01 Juin 2012, 11:39, toutes les heures sont au format GMT+1.00 Heure, heure d'été (+1)