|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.java.sip.communicator.impl.argdelegation.ArgDelegationPeerImpl
public class ArgDelegationPeerImpl
Implements the UriDelegationPeer interface from our argument handler utility. We use this handler to relay arguments to URI handlers that have been registered from other services such as the SIP provider for example.
| Constructor Summary | |
|---|---|
ArgDelegationPeerImpl(org.osgi.framework.BundleContext bundleContext)
Creates an instance of this peer and scans bundleContext for all existing UriHandler |
|
| Method Summary | |
|---|---|
void |
handleConcurrentInvocationRequest()
This method would simply bring the application on focus as it is called when the user has tried to launch a second instance of SIP Communicator while a first one was already running. |
void |
handleUri(String uriArg)
Relays uirArg to the corresponding handler or shows an error message in case no handler has been registered for the corresponding protocol. |
void |
serviceChanged(org.osgi.framework.ServiceEvent event)
Listens for UriHandlers that are registered in the bundle context after we had started so that we could add them to the list of currently known handlers. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ArgDelegationPeerImpl(org.osgi.framework.BundleContext bundleContext)
bundleContext - a reference to a currently valid instance of a
bundle context.| Method Detail |
|---|
public void serviceChanged(org.osgi.framework.ServiceEvent event)
serviceChanged in interface org.osgi.framework.ServiceListenerevent - the event containing the newly (un)registered service.public void handleUri(String uriArg)
handleUri in interface ArgDelegationPeeruriArg - the uri that we've been passed and that we'd like to
delegate to the corresponding provider.public void handleConcurrentInvocationRequest()
handleConcurrentInvocationRequest in interface ArgDelegationPeer
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||