public class DefaultCarbonadoHandler extends Object implements CarbonadoHandler
Constructor and Description |
---|
DefaultCarbonadoHandler(RepositoryFactory repositoryFactory,
RepositoryStorage repositoryStorage) |
Modifier and Type | Method and Description |
---|---|
void |
closeCarbonado() |
void |
closeCarbonado(String repositoryName) |
<R> R |
withCarbonado(RepositoryCallback<R> callback) |
<R> R |
withCarbonado(String repositoryName,
RepositoryCallback<R> callback) |
@Inject public DefaultCarbonadoHandler(@Nonnull RepositoryFactory repositoryFactory, @Nonnull RepositoryStorage repositoryStorage)
@Nullable public <R> R withCarbonado(@Nonnull RepositoryCallback<R> callback)
withCarbonado
in interface CarbonadoHandler
@Nullable public <R> R withCarbonado(@Nonnull String repositoryName, @Nonnull RepositoryCallback<R> callback)
withCarbonado
in interface CarbonadoHandler
public void closeCarbonado()
closeCarbonado
in interface CarbonadoHandler
public void closeCarbonado(@Nonnull String repositoryName)
closeCarbonado
in interface CarbonadoHandler