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): 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 (Type): ServiceInfo

 

method RegisterService(serviceClass: Type): ServiceInfo

 

ServiceInfo RegisterService(Type serviceClass)

 

Function RegisterService(serviceClass As Type) As ServiceInfo

Parameters:

  • serviceClass:

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

 

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

 

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

 

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

Parameters:

  • serviceName:
  • serviceClass:
  • activator:
  • invoker:

 

Implements