Package io.bdeploy.bhive.remote.jersey
Interface BHiveLocator
- All Known Implementing Classes:
BHiveLocatorImpl
@Path("/hives")
public interface BHiveLocator
Root resource location for all hives.
Since a single server can always serve multiple BHives, this resource handles routing to the correct
BHiveResource.
- See Also:
-
Method Summary
-
Method Details
-
getNamedHive
@Path("{hive}") @RequiredPermission(scope="hive", permission=READ, dynamicPermission="getRequiredPermission") BHiveResource getNamedHive(@PathParam("hive") String name) - Parameters:
name- the name of theBHiveto retrieve theBHiveResourcefor.- Returns:
- the
BHiveResourcewhich can be used to actually access the namedBHive.
-
getRequiredPermission
- Parameters:
name- the name of the hive to check- Returns:
- the minimum required permission to access this hive.
-