Elexis: Das führende OpenSource-Arztpraxisprogamm
im deutschsprachigen Raum
Java doc for Elexis version 2.1.7.dev vom 17.03.2013

ag.ion.noa.internal.service
Class ServiceProvider

java.lang.Object
  extended by ag.ion.noa.internal.service.ServiceProvider
All Implemented Interfaces:
IServiceProvider

public class ServiceProvider
extends java.lang.Object
implements IServiceProvider

Provider for servives.


Constructor Summary
ServiceProvider(IOfficeConnection officeConnection)
          Constructs new ServiceProvider.
 
Method Summary
 java.lang.Object createService(java.lang.String serviceName)
          Returns service with the submitted name.
 java.lang.Object createServiceWithContext(java.lang.String serviceName)
          Returns service with the submitted name and internal context.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceProvider

public ServiceProvider(IOfficeConnection officeConnection)
Constructs new ServiceProvider.

Parameters:
officeConnection - office connection to be used
Method Detail

createService

public java.lang.Object createService(java.lang.String serviceName)
                               throws NOAException
Returns service with the submitted name. Returns null if the a service with the submitted name is not available.

Specified by:
createService in interface IServiceProvider
Parameters:
serviceName - service name to be used
Returns:
service with the submitted name or null if the a service with the submitted name is not available
Throws:
NOAException - if the service can not be requested

createServiceWithContext

public java.lang.Object createServiceWithContext(java.lang.String serviceName)
                                          throws NOAException
Returns service with the submitted name and internal context. Returns null if the a service with the submitted name is not available.

Specified by:
createServiceWithContext in interface IServiceProvider
Parameters:
serviceName - service name to be used
Returns:
service with the submitted name or null if the a service with the submitted name is not available
Throws:
NOAException - if the service can not be requested

Elexis: Das führende OpenSource-Arztpraxisprogamm
im deutschsprachigen Raum
Java doc for Elexis version 2.1.7.dev vom 17.03.2013