Class RpcServiceNameServer
- java.lang.Object
-
- ch.systemsx.cisd.openbis.common.api.server.RpcServiceNameServer
-
- All Implemented Interfaces:
IRpcService
,IRpcServiceNameServer
public class RpcServiceNameServer extends java.lang.Object implements IRpcServiceNameServer
Implementation of theIRpcServiceNameServer
interface which registry for accessing the RPC services supported by a server.
-
-
Field Summary
-
Fields inherited from interface ch.systemsx.cisd.common.api.IRpcServiceNameServer
PREFFERED_BEAN_NAME, PREFFERED_SERVICE_NAME, PREFFERED_URL_SUFFIX
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addSupportedInterfaceVersion(RpcServiceInterfaceVersionDTO ifaceVersion)
Add an interface version to the registry.int
getMajorVersion()
Returns the major version of the server side interface.int
getMinorVersion()
Returns the minor version of this server side interface.java.util.List<RpcServiceInterfaceDTO>
getSupportedInterfaces()
Return a collection of interfaces supported by this server
-
-
-
Method Detail
-
getSupportedInterfaces
public java.util.List<RpcServiceInterfaceDTO> getSupportedInterfaces()
Description copied from interface:IRpcServiceNameServer
Return a collection of interfaces supported by this server- Specified by:
getSupportedInterfaces
in interfaceIRpcServiceNameServer
-
getMajorVersion
public int getMajorVersion()
Description copied from interface:IRpcService
Returns the major version of the server side interface. Different major versions are incompatible with one another.- Specified by:
getMajorVersion
in interfaceIRpcService
-
getMinorVersion
public int getMinorVersion()
Description copied from interface:IRpcService
Returns the minor version of this server side interface. Different minor versions, within the same major version, are compatible with one another.- Specified by:
getMinorVersion
in interfaceIRpcService
-
addSupportedInterfaceVersion
public void addSupportedInterfaceVersion(RpcServiceInterfaceVersionDTO ifaceVersion)
Add an interface version to the registry. This will automatically create an supported interface if necessary.
-
-