mirror of https://github.com/apache/jclouds.git
Use AutoService for creation of Service Loader Metadata
This commit is contained in:
parent
0ac7dd0dd9
commit
d139f09ba6
|
@ -121,6 +121,11 @@
|
|||
<artifactId>assertj-core</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.google.auto.service</groupId>
|
||||
<artifactId>auto-service</artifactId>
|
||||
<optional>true</optional>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<profiles>
|
||||
|
|
|
@ -22,6 +22,7 @@ import static org.jclouds.reflect.Reflection2.typeToken;
|
|||
import java.net.URI;
|
||||
import java.util.Properties;
|
||||
|
||||
import org.jclouds.apis.ApiMetadata;
|
||||
import org.jclouds.blobstore.BlobStoreContext;
|
||||
import org.jclouds.glacier.blobstore.config.GlacierBlobStoreContextModule;
|
||||
import org.jclouds.glacier.config.GlacierHttpApiModule;
|
||||
|
@ -29,12 +30,14 @@ import org.jclouds.glacier.config.GlacierParserModule;
|
|||
import org.jclouds.glacier.reference.GlacierHeaders;
|
||||
import org.jclouds.rest.internal.BaseHttpApiMetadata;
|
||||
|
||||
import com.google.auto.service.AutoService;
|
||||
import com.google.common.collect.ImmutableSet;
|
||||
import com.google.inject.Module;
|
||||
|
||||
/**
|
||||
* Implementation of ApiMetadata for Amazon Glacier API
|
||||
*/
|
||||
@AutoService(ApiMetadata.class)
|
||||
public class GlacierApiMetadata extends BaseHttpApiMetadata {
|
||||
|
||||
private static Builder builder() {
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
org.jclouds.glacier.GlacierApiMetadata
|
Loading…
Reference in New Issue