public class FullDNJndiDstService extends AbstractSimpleJndiService implements IJndiWritableService
Constructor and Description |
---|
FullDNJndiDstService(Properties props,
String beanClassName)
Deprecated.
|
FullDNJndiDstService(TaskType task) |
Modifier and Type | Method and Description |
---|---|
boolean |
apply(JndiModifications jm)
Apply directory modifications.
|
IBean |
getBean(String dn,
LscDatasets pivotAttributes,
boolean fromSameService)
The simple object getter according to its identifier.
|
Map<String,LscDatasets> |
getListPivots()
Returns a list of all the objects' identifiers.
|
close, get, getAttrs, getAttrsId, getBaseDn, getBeanFromSR, getFilterAll, getFilterId, getJndiServices
@Deprecated public FullDNJndiDstService(Properties props, String beanClassName) throws LscServiceException
props
- the properties used to identify the directory parameters and contextbeanClassName
- the bean class name that will be instantiated and feed upLscServiceInitializationException
- thrown if the bean class name does not existLscServiceConfigurationException
LscServiceException
public FullDNJndiDstService(TaskType task) throws LscServiceException
LscServiceException
public IBean getBean(String dn, LscDatasets pivotAttributes, boolean fromSameService) throws LscServiceException
getBean
in interface IService
dn
- DN of the entry to be returned, which is the name returned by getListPivots()
pivotAttributes
- Unused.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 IService
LscServiceException
NamingException
public boolean apply(JndiModifications jm) throws LscServiceCommunicationException
apply
in interface IJndiWritableService
jm
- Modifications to apply in a JndiModifications
object.CommunicationException
- If the connection to the service is lost,
and all other attempts to use this service should fail.LscServiceCommunicationException
Copyright © 2005-2024 LSC project. All Rights Reserved.