|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PlatformConnectionFactoryInterface
A specialization of the user interface for connection factories. This interface allows users to obtain connections from a connection factory using the Foundation User Service to identity the user requesting the connection.
Method Summary | |
---|---|
ConnectionInterface |
getConnection(UserContextInterface userContext)
Get a connection to a server. |
ConnectionInterface |
getConnection(UserContextInterface userContext,
long waitMilliseconds)
Get a connection to a server. |
Methods inherited from interface com.sas.services.connection.ConnectionFactoryInterface |
---|
getAdminInterface, getAdminInterface, getConnection, getConnection, getConnection, getConnection, getConnection, getConnection, getConnection, getConnection |
Methods inherited from interface com.sas.services.connection.ConnectionFactoryShellInterface |
---|
addConnectionFactoryEventListener, getAdminInterface, getConnection, getConnection, getDomains, removeConnectionFactoryEventListener |
Method Detail |
---|
ConnectionInterface getConnection(UserContextInterface userContext) throws ConnectionFactoryException
userContext
- the context of someone allowed to use this factory
ConnectionFactoryException
- if the factory cannot create a
connection to satisfy this request or if the factory has been shutdownConnectionInterface getConnection(UserContextInterface userContext, long waitMilliseconds) throws ConnectionFactoryException
userContext
- the context of 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.
<0
0
>0
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
|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |