ServiceManager

Overview

This class is used internally by the remoting framework to locate and maintain a list of all services registered for a given server.

When the first request for a specific service name comes in from a client, the Remoting SDK framework will scan the entire application domain for a class with the ServiceAttribute attribute and the right name.

Once this class is found, the proper class factory is created by looking for a ClassFactoryAttribute attribute and the class factory will be added to the ServiceManager's internal list for future references.

Location


Instance Methods


constructor

 

constructor

 

ServiceManager()

 

Sub New()

FindService

 

method FindService(serviceName: String): ServiceInfo

 

ServiceInfo FindService(String serviceName)

 

Function FindService(serviceName As String) As ServiceInfo

Parameters:

  • serviceName:

GetService

 

method GetService(serviceName: String): not nullable ServiceInfo

 

ServiceInfo! GetService(String serviceName)

 

Function GetService(serviceName As String) As ServiceInfo

Parameters:

  • serviceName:

GetServices

 

method GetServices: array of ServiceInfo

 

ServiceInfo[] GetServices()

 

Function GetServices() As ServiceInfo()

RegisterService (String, Type, IServiceActivator, IServiceInvoker): ServiceInfo

 

method RegisterService(serviceName: String; serviceType: Type; activator: IServiceActivator; invoker: IServiceInvoker): ServiceInfo

 

ServiceInfo RegisterService(String serviceName, Type serviceType, IServiceActivator activator, IServiceInvoker invoker)

 

Function RegisterService(serviceName As String, serviceType As Type, activator As IServiceActivator, invoker As IServiceInvoker) As ServiceInfo

Parameters:

  • serviceName:
  • serviceType:
  • activator:
  • invoker:

RegisterService (Type): ServiceInfo

 

method RegisterService(serviceType: Type): ServiceInfo

 

ServiceInfo RegisterService(Type serviceType)

 

Function RegisterService(serviceType As Type) As ServiceInfo

Parameters:

  • serviceType: