org.apache.juddi.datatype.binding
Class HostingRedirector

java.lang.Object
  extended by org.apache.juddi.datatype.binding.HostingRedirector
All Implemented Interfaces:
java.io.Serializable, RegistryObject

public class HostingRedirector
extends java.lang.Object
implements RegistryObject

The HostingRedirector in the bindingTemplate is used to indicate that the bindingTemplate entry is a pointer to a different bindingTemplate entry. The value in this is seen when a business or entity wants to expose a service description (ie advertise a service that fulfills a specific purpose) that is actually a service that is described in a separate bindingTemplate record. This might occur when a service is remotely hosted or when many service descriptions could benefit from a single service description.

Author:
Steve Viens (sviens@apache.org)
See Also:
Serialized Form

Constructor Summary
HostingRedirector()
          Constructs a new initialized HostingRedirector.
HostingRedirector(java.lang.String key)
          Constructs a new HostingRedirector with a given String.
 
Method Summary
 java.lang.String getBindingKey()
          Returns the key of this HostingRedirector.
 void setBindingKey(BindingKey key)
          Sets the key of this HostingRedirector to the given key.
 void setBindingKey(java.lang.String key)
          Sets the key of this HostingRedirector to the given key.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HostingRedirector

public HostingRedirector()
Constructs a new initialized HostingRedirector.


HostingRedirector

public HostingRedirector(java.lang.String key)
Constructs a new HostingRedirector with a given String.

Parameters:
key - The binding key.
Method Detail

setBindingKey

public void setBindingKey(BindingKey key)
Sets the key of this HostingRedirector to the given key.

Parameters:
key - The new key of this HostingRedirector.

setBindingKey

public void setBindingKey(java.lang.String key)
Sets the key of this HostingRedirector to the given key.

Parameters:
key - The new key of this HostingRedirector.

getBindingKey

public java.lang.String getBindingKey()
Returns the key of this HostingRedirector.

Returns:
The key of this HostingRedirector.


Copyright © 2004-2007. All Rights Reserved.