|
![]() |
|||||||||
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
com.nitido.nimx.services.datacontrol.sim.DataControlServiceImpl
public class DataControlServiceImpl
DataControlService is responsible for initializing and instantiating DataControl objects.
Field Summary |
---|
Constructor Summary | |
---|---|
DataControlServiceImpl(NiMKernelServiceVisa visa)
|
Method Summary | |
---|---|
DataControl |
getDataControl(Credential credential)
This method is a factory method for DataControl objects. |
protected 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 DataControlServiceImpl(NiMKernelServiceVisa visa)
Method Detail |
---|
protected void init(NiMKernel kernel, ConfigurationService confService) throws InitializationFailedException, NiMException
NiMKernelService
init
in class DataControlService
kernel
- 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 DataControl getDataControl(Credential credential) throws IllegalCredentialException, DataControlException
DataControlService
getDataControl
in class DataControlService
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.