|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.cau.cs.kieler.kwebs.client.LayoutServiceClients
public final class LayoutServiceClients
This class handles the registration of layout service clients and the mapping to their supported
protocols. Each layout service client has to register itself through the extension registry using
the extension point de.cau.cs.kieler.kwebs.client.protocol.support
.
Method Summary | |
---|---|
int |
countClients()
Returns the number of protool dependent client implementations available for doing service based layout. |
ILayoutServiceClient |
createClientForServerConfig(ServerConfigData serverConfig)
Returns a newly instantiated client for a specific protocol or null if no client
is available for the specific protocol. |
ILayoutServiceClient |
getClientForServerConfig(ServerConfigData serverConfig)
Returns a client for a specific protocol from the pool or null if no client
is available for the specific protocol. |
static LayoutServiceClients |
getInstance()
Get the singleton instance. |
boolean |
isServerConfigSupported(ServerConfigData serverConfig)
Returns whether a client for a particular protocol of a server configuration can be supplied. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static LayoutServiceClients getInstance()
public int countClients()
public ILayoutServiceClient getClientForServerConfig(ServerConfigData serverConfig)
null
if no client
is available for the specific protocol.
serverConfig
- the server configuration to whichs protocol a compatible client is to be retrieved
null
public ILayoutServiceClient createClientForServerConfig(ServerConfigData serverConfig)
null
if no client
is available for the specific protocol.
serverConfig
- the server configuration to whose protocol a compatible client is to be created
null
public boolean isServerConfigSupported(ServerConfigData serverConfig)
serverConfig
- the server configuration
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |