View Javadoc

1   package org.ogf.saga.resource;
2   
3   import org.ogf.saga.error.AuthenticationFailedException;
4   import org.ogf.saga.error.AuthorizationFailedException;
5   import org.ogf.saga.error.BadParameterException;
6   import org.ogf.saga.error.NoSuccessException;
7   import org.ogf.saga.error.NotImplementedException;
8   import org.ogf.saga.error.TimeoutException;
9   import org.ogf.saga.resource.description.NetworkDescription;
10  import org.ogf.saga.resource.description.ResourceDescription;
11  import org.ogf.saga.resource.instance.Resource;
12  
13  public abstract class NetworkTest extends ResourceBaseTest {
14  
15      public NetworkTest(String resourceprotocol) throws Exception {
16          super(resourceprotocol, Type.NETWORK);
17      }
18      @Override
19      protected Resource acquire(ResourceDescription rd) throws NotImplementedException, AuthenticationFailedException, AuthorizationFailedException, BadParameterException, TimeoutException, NoSuccessException {
20          return m_rm.acquireNetwork((NetworkDescription) rd);
21      }
22  
23  }