Package com.cloudloop.generated.CloudloopConfig.Adapters

Examples of com.cloudloop.generated.CloudloopConfig.Adapters.Adapter


  CloudloopConfig config = new CloudloopConfig( );
  Adapters adapters = new Adapters( );
  config.setAdapters( adapters );
  List<Adapter> adapterList = adapters.getAdapter( );
 
  Adapter s3Adapter = new Adapter( );
  s3Adapter.setImpl( AmazonS3CloudStore.class.getName( ) );
  s3Adapter.setName( "amazonS3" );
  s3Adapter.setType( AdapterType.STORAGE );
  adapterList.add( s3Adapter );
 
  Adapter nirvanixAdapter = new Adapter( );
  nirvanixAdapter.setImpl( NirvanixCloudStore.class.getName( ) );
  nirvanixAdapter.setName( "nirvanix" );
  nirvanixAdapter.setType( AdapterType.STORAGE );
  adapterList.add( nirvanixAdapter );
 
  Adapter rackspaceAdapter = new Adapter( );
  rackspaceAdapter.setImpl( RackspaceCloudStore.class.getName( ) );
  rackspaceAdapter.setName( "rackspace" );
  rackspaceAdapter.setType( AdapterType.STORAGE );
  adapterList.add( rackspaceAdapter );
 
  Adapter localAdapter = new Adapter( );
  localAdapter.setImpl( LocalCloudStore.class.getName( ) );
  localAdapter.setName( "local" );
  localAdapter.setType( AdapterType.STORAGE );
  adapterList.add( localAdapter );
 
  Adapter jcloudsS3Adapter = new Adapter( );
  jcloudsS3Adapter.setImpl( JS3CloudStore.class.getName( ) );
  jcloudsS3Adapter.setName( "jS3" );
  jcloudsS3Adapter.setType( AdapterType.STORAGE );
  adapterList.add( jcloudsS3Adapter );
 
  Stores stores = new Stores( );
  config.setStores( stores );
  List<Store> storeList = stores.getStore( );
View Full Code Here

TOP

Related Classes of com.cloudloop.generated.CloudloopConfig.Adapters.Adapter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.