org.apache.yoko.orb.OB
Class URLRegistry_impl

java.lang.Object
  extended by org.omg.CORBA.LocalObject
      extended by org.apache.yoko.orb.OB.URLRegistry_impl
All Implemented Interfaces:
URLRegistry, URLRegistryOperations, Object

public class URLRegistry_impl
extends LocalObject
implements URLRegistry


Constructor Summary
URLRegistry_impl()
           
 
Method Summary
 void add_scheme(URLScheme scheme)
          Register a new URL scheme.
 void destroy()
          Invoke destroy() on all registered schemes, and release any resources held by the object.
 URLScheme find_scheme(String name)
          Find a scheme with the given name.
 Object parse_url(String url)
          Convert a URL into an object reference by delegating to a registered URLScheme object.
 
Methods inherited from class org.omg.CORBA.LocalObject
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_interface, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_policy_override, validate_connection
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.omg.CORBA.Object
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_interface, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override
 

Constructor Detail

URLRegistry_impl

public URLRegistry_impl()
Method Detail

add_scheme

public void add_scheme(URLScheme scheme)
                throws SchemeAlreadyExists
Description copied from interface: URLRegistryOperations
Register a new URL scheme.

Specified by:
add_scheme in interface URLRegistryOperations
Parameters:
scheme - The new scheme.
Throws:
SchemeAlreadyExists - Another scheme already exists with the same name.

find_scheme

public URLScheme find_scheme(String name)
Description copied from interface: URLRegistryOperations
Find a scheme with the given name.

Specified by:
find_scheme in interface URLRegistryOperations
Parameters:
name - The scheme name, in lower case.
Returns:
The URLScheme, or nil if no match was found.

parse_url

public Object parse_url(String url)
Description copied from interface: URLRegistryOperations
Convert a URL into an object reference by delegating to a registered URLScheme object.

Specified by:
parse_url in interface URLRegistryOperations
Parameters:
url - The complete URL, including the scheme.
Returns:
An object reference.

destroy

public void destroy()
Description copied from interface: URLRegistryOperations
Invoke destroy() on all registered schemes, and release any resources held by the object.

Specified by:
destroy in interface URLRegistryOperations


Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.