VisiBroker for Java

com.inprise.vbroker.URLNaming
Class DotnetResolver

java.lang.Object
  extended by org.omg.CORBA.portable.ObjectImpl
      extended by org.omg.CORBA_2_3.portable.ObjectImpl
          extended by com.inprise.vbroker.CORBA.portable.ObjectImpl
              extended by com.inprise.vbroker.orb.ObjectImpl
                  extended by com.inprise.vbroker.orb.PseudoObject
                      extended by com.inprise.vbroker.URLNaming.ResolverImpl
                          extended by com.inprise.vbroker.URLNaming.DotnetResolver
All Implemented Interfaces:
Resolver, java.io.Serializable, Object, IDLEntity

public class DotnetResolver
extends com.inprise.vbroker.URLNaming.ResolverImpl

See Also:
Serialized Form

Method Summary
 void force_register_url(java.lang.String url, Object obj)
          The force_register_url() method behaves like register_url(), but it will overwrite an existing binding.
 Object locate(java.lang.String url)
          The locate() method retrieves an object reference stored on a web server, and creates a local CORBA::Object
 void register_url(java.lang.String url, Object object)
          The register_url method will publish the IOR of the obj parameter using the URL given in the url_s argument.
 
Methods inherited from class com.inprise.vbroker.URLNaming.ResolverImpl
getAllowUserInteraction, setAllowUserInteraction
 
Methods inherited from class com.inprise.vbroker.orb.PseudoObject
_get_delegate, _ids, _is_a, _set_delegate, toString
 
Methods inherited from class com.inprise.vbroker.CORBA.portable.ObjectImpl
_bind_options, _bind_options, _bind, _boa, _get_client_policy, _get_policy_overrides, _ior_value, _ior, _is_bound, _is_persistent, _is_remote, _object_name, _release, _repository_id, _resolve_reference, _set_policy_overrides, _validate_connection, _vis_is_local, _vis_rebind, equals, hashCode
 
Methods inherited from class org.omg.CORBA_2_3.portable.ObjectImpl
_get_codebase
 
Methods inherited from class org.omg.CORBA.portable.ObjectImpl
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _invoke, _is_equivalent, _is_local, _non_existent, _orb, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_policy_override
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.inprise.vbroker.CORBA.Object
_is_local, _orb
 
Methods inherited from interface org.omg.CORBA.Object
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _is_equivalent, _non_existent, _request, _set_policy_override
 

Method Detail

locate

public Object locate(java.lang.String url)
              throws InvalidURL,
                     CommFailure,
                     ReqFailure
Description copied from interface: Resolver
The locate() method retrieves an object reference stored on a web server, and creates a local CORBA::Object

Specified by:
locate in interface Resolver
Overrides:
locate in class com.inprise.vbroker.URLNaming.ResolverImpl
Parameters:
url - The URL to be resolved
Throws:
InvalidURL - The InvalidURL is thrown if the URL is syntactically malformed.
CommFailure - The CommFailure indicates that a communication problem with the HTTP server was encountered.
ReqFailure - The ReqFailure exception will be thrown if the HTTP request fails for some reason.

force_register_url

public void force_register_url(java.lang.String url,
                               Object obj)
                        throws InvalidURL,
                               CommFailure,
                               ReqFailure
Description copied from interface: Resolver
The force_register_url() method behaves like register_url(), but it will overwrite an existing binding.

Specified by:
force_register_url in interface Resolver
Overrides:
force_register_url in class com.inprise.vbroker.URLNaming.ResolverImpl
Parameters:
url - The URL for the registration
obj - The object reference that is to be registered
Throws:
InvalidURL - The InvalidURL is thrown if the URL is syntactically malformed.
CommFailure - The CommFailure indicates that a communication problem with the HTTP server was encountered.
ReqFailure - The ReqFailure exception will be thrown if the HTTP request fails for some reason.

register_url

public void register_url(java.lang.String url,
                         Object object)
                  throws InvalidURL,
                         CommFailure,
                         ReqFailure,
                         AlreadyExists
Description copied from interface: Resolver
The register_url method will publish the IOR of the obj parameter using the URL given in the url_s argument. If an object is already registered under this URL, the AlreadyExists exception will be thrown.

Specified by:
register_url in interface Resolver
Overrides:
register_url in class com.inprise.vbroker.URLNaming.ResolverImpl
Parameters:
url - The URL for the registration
object - The object reference that is to be registered
Throws:
InvalidURL - The InvalidURL is thrown if the URL is syntactically malformed.
CommFailure - The CommFailure indicates that a communication problem with the HTTP server was encountered.
ReqFailure - The ReqFailure exception will be thrown if the HTTP request fails for some reason.
AlreadyExists - if URL already registered.

Borland Software Corporation
http://www.borland.com
100 Enterprise Way
Scotts Valley, CA 95066
Voice: (831) 431-1000
pubsweb@borland.com

Read the latest documentation online