org.apache.yoko.orb.OB
Interface URLSchemeOperations

All Known Subinterfaces:
CorbalocURLScheme, CorbalocURLSchemeOperations, URLScheme
All Known Implementing Classes:
CorbalocURLScheme_impl, CorbanameURLScheme_impl, FileURLScheme_impl, IORURLScheme_impl

public interface URLSchemeOperations

A URLScheme (e.g., file:, corbaloc:, etc.) is responsible for converting a URL into an object reference. All schemes must be installed in the URLRegistry.

See Also:
URLRegistry

Method Summary
 void destroy()
          Release any resources held by the object.
 String name()
          Each scheme must have a unique name.
 Object parse_url(String url)
          Convert a URL into an object reference.
 

Method Detail

name

String name()
Each scheme must have a unique name. All scheme names must be in lower case, and do not include the trailing colon.


parse_url

Object parse_url(String url)
Convert a URL into an object reference.

Parameters:
url - The complete URL, including the scheme.
Returns:
An object reference.
Throws:
BAD_PARAM - In case the URL is invalid.

destroy

void destroy()
Release any resources held by the object.



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