io.leoplatform.sdk.oracle.SimpleOracleChangeDestination Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of leo-sdk-oracle Show documentation
Show all versions of leo-sdk-oracle Show documentation
Oracle connector for LEO Insights platform
package io.leoplatform.sdk.oracle;
import io.leoplatform.schema.ChangeDestination;
import io.leoplatform.sdk.changes.SimpleChangeListener;
import java.util.Properties;
public final class SimpleOracleChangeDestination implements OracleChangeDestination {
private final ChangeDestination changeListener;
private final Properties props;
public SimpleOracleChangeDestination() {
this(new SimpleChangeListener());
}
public SimpleOracleChangeDestination(ChangeDestination changeListener) {
this(changeListener, new Properties());
}
public SimpleOracleChangeDestination(ChangeDestination changeListener, Properties props) {
this.changeListener = changeListener;
this.props = props;
}
@Override
public String getHost() {
return changeListener.getHost();
}
@Override
public Integer getPort() {
return changeListener.getPort();
}
@Override
public Properties getProps() {
return props;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy