|
| Foundation |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
@SASScope(value="ALL") @BinaryCompatibilityOnly public interface ConnectionFactoryShellInterface
Methods common to all connection factory interfaces.
| Method Summary | |
|---|---|
abstract void |
addConnectionFactoryEventListener(ConnectionFactoryEventListener listener)
Add a listener for connection factory events. |
abstract ConnectionFactoryAdminInterface |
getAdminInterface(Credential adminLogin)
Get the factory administrator's interface. |
abstract ConnectionInterface |
getConnection(Credential login)
Get a connection to a server. |
abstract ConnectionInterface |
getConnection(Credential login,
long waitMilliseconds)
Get a connection to a server. |
abstract java.util.List |
getDomains()
Get the list of authentication domains supported by this factory. |
abstract void |
removeConnectionFactoryEventListener(ConnectionFactoryEventListener listener)
Remove a listener for connection factory events. |
| Method Detail |
|---|
void addConnectionFactoryEventListener(ConnectionFactoryEventListener listener)
listener - a listener for connection factory eventsvoid removeConnectionFactoryEventListener(ConnectionFactoryEventListener listener)
listener - a listener for connection factory eventsjava.util.List getDomains()
ConnectionInterface getConnection(Credential login)
throws ConnectionFactoryException
login - credentials for someone allowed to use this factory
ConnectionFactoryException - if the factory cannot create a
connection to satisfy this request or if the request times out or if the factory has been shutdown
ConnectionInterface getConnection(Credential login,
long waitMilliseconds)
throws ConnectionFactoryException
login - credentials for someone allowed to use this factorywaitMilliseconds - a flag indicating how the call should behave if the factory has allocated
all the connections it is allowed to manage to other users.
<00>0ConnectionFactoryException - if the factory cannot create a
connection to satisfy this request or if the request times out or if the factory has been shutdown
ConnectionFactoryAdminInterface getAdminInterface(Credential adminLogin)
throws ConnectionFactoryException
login - credentials for someone allowed to administer this factory or null
ConnectionFactoryException
|
| Foundation |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||