|
Avaya Conferencing Provider API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.avaya.conferencing.api.acp.control.ConferencingProviders
public final class ConferencingProviders
Uses the Java SPI mechanism to obtain a Connection from the ConferencingProvider implementation that supports the protocol specified in the Connection URI.
| Method Summary | |
|---|---|
static Connection |
getConnection(java.lang.ClassLoader classloader,
java.lang.String connectionUrl,
java.lang.String username,
char[] password)
Returns the required connection. |
static Connection |
getConnection(java.lang.String connectionUrl,
java.lang.String username,
char[] password)
Returns the required connection. |
static ConnectionContext |
getDefaultConnectionContext()
Returns the default ConnectionContext for the context ClassLoader of the current thread. |
static ConnectionContext |
getDefaultConnectionContext(java.lang.ClassLoader contextClassLoader)
Returns the default ConnectionContext for the specified ClassLoader. |
static ConnectionContext |
newConnectionContext(java.lang.ClassLoader contextClassLoader)
Creates a new ConnectionContext using the supplied ClassLoader. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static Connection getConnection(java.lang.String connectionUrl,
java.lang.String username,
char[] password)
throws java.net.MalformedURLException,
java.io.IOException
connectionUrl - The connection URI.username - The username to connect with.password - The password to connect with.
java.net.MalformedURLException - If the URI is malformed or if the protocol is not supported.
java.io.IOException - If there was an IOException trying to establish the connection.
public static Connection getConnection(java.lang.ClassLoader classloader,
java.lang.String connectionUrl,
java.lang.String username,
char[] password)
throws java.net.MalformedURLException,
java.io.IOException
classloader - The classloader to search for implementations from.connectionUrl - The connection URI.username - The username to connect with.password - The password to connect with.
java.net.MalformedURLException - If the URI is malformed or if the protocol is not supported.
java.io.IOException - If there was an IOException trying to establish the connection.public static ConnectionContext getDefaultConnectionContext()
public static ConnectionContext getDefaultConnectionContext(java.lang.ClassLoader contextClassLoader)
contextClassLoader - the specified ClassLoader.
public static ConnectionContext newConnectionContext(java.lang.ClassLoader contextClassLoader)
getDefaultConnectionContext(ClassLoader) or getDefaultConnectionContext() method is preferred.
contextClassLoader - The ClassLoader to search for ConferencingProvider implementations
on.
|
Avaya Conferencing Provider API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||