brooklyn.entity.nosql.mongodb.MongoDBClientImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of brooklyn-software-nosql Show documentation
Show all versions of brooklyn-software-nosql Show documentation
Brooklyn entities for NoSQL data store software entities
The newest version!
package brooklyn.entity.nosql.mongodb;
import brooklyn.entity.basic.SoftwareProcessImpl;
import brooklyn.entity.trait.Startable;
public class MongoDBClientImpl extends SoftwareProcessImpl implements MongoDBClient {
@Override
protected void connectSensors() {
super.connectSensors();
setAttribute(Startable.SERVICE_UP, true);
}
@SuppressWarnings("rawtypes")
@Override
public Class getDriverInterface() {
return MongoDBClientDriver.class;
}
@Override
public void runScript(String preStart, String scriptName) {
((MongoDBClientDriver)getDriver()).runScript(preStart, scriptName);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy