|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.omg.CORBA.LocalObject
org.apache.yoko.orb.OB.CorbalocURLScheme_impl
public class CorbalocURLScheme_impl
Constructor Summary | |
---|---|
CorbalocURLScheme_impl(ORBInstance orbInstance)
|
Method Summary | |
---|---|
void |
add_protocol(CorbalocProtocol protocol)
Register a new corbaloc protocol. |
void |
destroy()
Release any resources held by the object. |
CorbalocProtocol |
find_protocol(String name)
Find a protocol with the given name. |
String |
name()
Each scheme must have a unique name. |
Object |
parse_url(String url)
Convert a URL into an object reference. |
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 |
---|
public CorbalocURLScheme_impl(ORBInstance orbInstance)
Method Detail |
---|
public String name()
URLSchemeOperations
name
in interface URLSchemeOperations
public Object parse_url(String url)
URLSchemeOperations
parse_url
in interface URLSchemeOperations
url
- The complete URL, including the scheme.
public void destroy()
URLSchemeOperations
destroy
in interface URLSchemeOperations
public void add_protocol(CorbalocProtocol protocol) throws ProtocolAlreadyExists
CorbalocURLSchemeOperations
corbaloc
protocol.
add_protocol
in interface CorbalocURLSchemeOperations
protocol
- The new protocol.
ProtocolAlreadyExists
- Another protocol already exists
with the same name.public CorbalocProtocol find_protocol(String name)
CorbalocURLSchemeOperations
find_protocol
in interface CorbalocURLSchemeOperations
name
- The protocol name, in lower case.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |