public class ClientFactoryImpl extends Object implements ClientFactoryInternal
| 构造器和说明 |
|---|
ClientFactoryImpl() |
| 限定符和类型 | 方法和说明 |
|---|---|
Collection<Class<?>> |
getAllClientTypes() |
<T> T |
getClient(Class<T> klass)
Get an instance of a specific SOFA programming API client such as
ReferenceClient or
ServiceClient. |
void |
registerClient(Class<?> clientType,
Object clientInstance)
register concrete client to client factory
|
public void registerClient(Class<?> clientType, Object clientInstance)
ClientFactoryInternalregisterClient 在接口中 ClientFactoryInternalpublic <T> T getClient(Class<T> klass)
ClientFactoryReferenceClient or
ServiceClient.getClient 在接口中 ClientFactoryT - The type of the client to get.klass - The type of the client to get.public Collection<Class<?>> getAllClientTypes()
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.