org.apache.yoko.orb.OB
Interface CorbalocURLSchemeOperations

All Superinterfaces:
URLSchemeOperations
All Known Subinterfaces:
CorbalocURLScheme
All Known Implementing Classes:
CorbalocURLScheme_impl

public interface CorbalocURLSchemeOperations
extends URLSchemeOperations

CorbalocURLScheme implements the corbaloc URL scheme, and serves as a registry for CorbalocProtocol objects.

See Also:
CorbalocProtocol

Method Summary
 void add_protocol(CorbalocProtocol protocol)
          Register a new corbaloc protocol.
 CorbalocProtocol find_protocol(String name)
          Find a protocol with the given name.
 
Methods inherited from interface org.apache.yoko.orb.OB.URLSchemeOperations
destroy, name, parse_url
 

Method Detail

add_protocol

void add_protocol(CorbalocProtocol protocol)
                  throws ProtocolAlreadyExists
Register a new corbaloc protocol.

Parameters:
protocol - The new protocol.
Throws:
ProtocolAlreadyExists - Another protocol already exists with the same name.

find_protocol

CorbalocProtocol find_protocol(String name)
Find a protocol with the given name.

Parameters:
name - The protocol name, in lower case.
Returns:
The CorbalocProtocol, or nil if no match was found.


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