|
3.2.4: 2013-12-06 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ConnectionManagerFactory
A connection manager factory is responsible for creating connection managers for some subset of URI:s that is supported. A factory implementation must be thread-safe since it may be used by more than one thread at a time.
Method Summary | |
---|---|
ConnectionManager |
createConnectionManager(URI uri,
ConnectionParameters parameters)
Create a new handler for accessing the resource at the given URI. |
String |
getDescription()
Get a longer description that can be used by client applications to show more information about the capabilities of the factory to the users. |
String |
getDisplayName()
Get a short string that is suitable for use in selection lists, etc. |
String |
getId()
Get the ID of this connection manager factory. |
boolean |
supports(URI uri)
Check if the given factory knows how to create a handler for the given URI. |
boolean |
useAutoDetection()
Does this factory support auto-detection if an URI is supported or not? |
Method Detail |
---|
String getId()
String getDisplayName()
String getDescription()
boolean useAutoDetection()
boolean supports(URI uri)
uri
- The URI to checkConnectionManager createConnectionManager(URI uri, ConnectionParameters parameters)
uri
- The URI to access (required)parameters
- Connection parameters, such as user login/password, etc.
Optional, unless otherwise is noted by the implementation.
|
3.2.4: 2013-12-06 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |