public class SimpleJndiSrcService extends AbstractSimpleJndiService implements IService
| Constructor and Description |
|---|
SimpleJndiSrcService(Properties props,
String beanClassName)
Deprecated.
|
SimpleJndiSrcService(TaskType task)
Constructor adapted to the context properties and the bean class name
to instantiate.
|
| Modifier and Type | Method and Description |
|---|---|
IBean |
getBean(String pivotName,
LscDatasets pivotAttributes,
boolean fromSameService)
The simple object getter according to its identifier.
|
String |
getFilterIdClean() |
Map<String,LscDatasets> |
getListPivots()
Returns a list of all the objects' identifiers.
|
close, get, getAttrs, getAttrsId, getBaseDn, getBeanFromSR, getFilterAll, getFilterId, getJndiServices@Deprecated public SimpleJndiSrcService(Properties props, String beanClassName) throws LscServiceConfigurationException
props - the properties used to identify the directory parameters
and contextLscServiceConfigurationExceptionpublic SimpleJndiSrcService(TaskType task) throws LscServiceConfigurationException
task - Initialized task containing all necessary pieces of information to initiate connection
and load settingsLscServiceConfigurationExceptionpublic IBean getBean(String pivotName, LscDatasets pivotAttributes, boolean fromSameService) throws LscServiceException
getBean in interface IServicepivotName - Name of the entry to be returned, which is the name returned by
getListPivots() (used for display only)pivotAttributes - Map of attribute names and values, which is the data identifier in the
source such as returned by getListPivots(). It must identify a unique
entry in the source.fromSameService - are the pivot attributes provided by the same serviceLscServiceException - May throw a NamingException if the object is not found in the
directory, or if more than one object would be returned.public Map<String,LscDatasets> getListPivots() throws LscServiceException
getListPivots in interface IServiceLscServiceExceptionNamingException - May throw a NamingException if an error occurs while
searching the directory.public final String getFilterIdClean()
Copyright © 2005-2017 LSC project. All Rights Reserved.