|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ClientFactory
An ClientFactory is used by a TFSConnection to create
clients. An ClientFactory is supplied to a TFSConnection by a
ConnectionAdvisor.
TFSConnection allows only a single thread to use a
DefaultClientFactory at a time.
For a default implementation, see DefaultClientFactory.
TFSConnection,
ConnectionAdvisor,
DefaultClientFactory| Method Summary | |
|---|---|
java.lang.Object |
newClient(java.lang.Class clientType,
TFSConnection connection)
Creates a new client. |
WSSClient |
newWSSClient(TFSTeamProjectCollection connection,
ProjectInfo projectInfo)
Creates a new Sharepoint client. |
| Method Detail |
|---|
java.lang.Object newClient(java.lang.Class clientType,
TFSConnection connection)
clientType - the client type to create (must not be null)connection - the TFSConnection the client is being created for (must
not be null)
null)
UnknownClientException - if the client type is unknown
WSSClient newWSSClient(TFSTeamProjectCollection connection,
ProjectInfo projectInfo)
connection - the TFSTeamProjectCollection the client is being created
for (must not be null)projectInfo - the team project to create a sharepoint client for
null)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||