|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.nitido.nim.NiMKernelService
com.nitido.nim.DataControlService
public abstract class DataControlService
The DataControlService is the NiMKernel module responsible for instantiating DataControl objects.
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
DataControlService(NiMKernelServiceVisa visa)
This class constructor is used by NiMKernel to instantiate a new DataControlService. |
|
| Method Summary | |
|---|---|
abstract DataControl |
getDataControl(Credential credential)
This method is a factory method for DataControl objects. |
protected abstract void |
init(NiMKernel kernel,
ConfigurationService confService)
This method is used to initialize the kernel service. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DataControlService(NiMKernelServiceVisa visa)
visa - Reference to the NiMKernelServiceVisa object required to
instantiate the service. This parameter is required to
ensure that only the NiMkernel can instantiate a reference
to this service.| Method Detail |
|---|
protected abstract void init(NiMKernel kernel,
ConfigurationService confService)
throws InitializationFailedException,
NiMException
NiMKernelService
init in class NiMKernelServicekernel - Reference to the NiMKernel object that instantiated the
service.confService - A reference to the configuration service. All the service
implementations (except ConfigurationService)
should retrieve the setting information from it.
InitializationFailedException - If unable to initialize the kernel service.
NiMException - If service initialization can not be done due to failure in
establish a connection to the back-end service. Not all
service implementation will throw this exception.
public abstract DataControl getDataControl(Credential credential)
throws IllegalCredentialException,
DataControlException
credential - The credential used by the DataControl to access the
back-end data.
IllegalCredentialException - If the given credential is not valid.
DataControlException - If the DataControl service is unable to establish a
connection with the back-end data services.
|
Nitido NiM 2.5 Java API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright © 1999-2009 Nitido Inc. Proprietary and Confidential. All Rights Reserved.