public class GetDatasources extends ServiceableAction
Modifier and Type | Field and Description |
---|---|
private DataSourceConsumerExtensionPoint |
_dataSourceConsumerEP |
private LDAPConnector |
_ldapConnector |
private LDAPDataSourceManager |
_ldapDataSourceManager |
private SQLDataSourceManager |
_sqlDataSourceManager |
manager
EMPTY_MAP
Constructor and Description |
---|
GetDatasources() |
Modifier and Type | Method and Description |
---|---|
private Object |
_datasources2JSON() |
private Object |
_ldapDatasource2JSON(String ldapDatasourcePath) |
private Object |
_sqlDatasource2JSON(String sqlDatasourceId) |
Map |
act(Redirector redirector,
SourceResolver resolver,
Map objectModel,
String source,
Parameters parameters) |
void |
service(ServiceManager smanager) |
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
private SQLDataSourceManager _sqlDataSourceManager
private LDAPDataSourceManager _ldapDataSourceManager
private DataSourceConsumerExtensionPoint _dataSourceConsumerEP
private LDAPConnector _ldapConnector
public GetDatasources()
public void service(ServiceManager smanager) throws ServiceException
service
in interface Serviceable
service
in class ServiceableAction
ServiceException
public Map act(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters) throws Exception
Exception
private Object _datasources2JSON()
private Object _sqlDatasource2JSON(String sqlDatasourceId) throws ProcessingException
ProcessingException
private Object _ldapDatasource2JSON(String ldapDatasourcePath) throws ProcessingException
ProcessingException