public class DirectDataSourceProfile extends Object
DirectDataSource.| Constructor and Description |
|---|
DirectDataSourceProfile(String id,
Class<? extends AbstractDirectDataSource> targetClass,
String path,
Map<String,String> attributes)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
getAttributes()
Returns the attributes of the target data source.
|
String |
getId()
Returns the target ID.
|
String |
getPath()
Returns the path of the target data source is mapped on.
|
Class<? extends AbstractDirectDataSource> |
getTargetClass()
Returns the target data source class.
|
public DirectDataSourceProfile(String id, Class<? extends AbstractDirectDataSource> targetClass, String path, Map<String,String> attributes)
id - target IDtargetClass - target classpath - the path of this data sourceattributes - data source configurationIllegalArgumentException - if some parameters were nullpublic String getId()
public Class<? extends AbstractDirectDataSource> getTargetClass()
public String getPath()
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.