org.gcube.common.uri.ap
Interface ScopedAuthorityProvider

All Known Implementing Classes:
CachingSDP, InfrastructureFilterSAP, ISAP, ScopedPropertyAP

public interface ScopedAuthorityProvider

Returns naming authorities for given scopes.

Author:
Fabio Simeoni

Method Summary
 String authorityIn(String scope)
          Returns the naming authority associated a given scope.
 

Method Detail

authorityIn

String authorityIn(String scope)
                   throws IllegalArgumentException,
                          IllegalStateException
Returns the naming authority associated a given scope.

Parameters:
scope - the scope
Returns:
the authority
Throws:
IllegalArgumentException - if the scope is invalid
IllegalStateException - if there is no authority in the given scope


Copyright © 2013. All Rights Reserved.