@Services(value={@Service(value=java.lang.Object.class),@Service(value=GlobalMenuItemsProvider.class)}) @Property(name="javax.ws.rs", boolValue=true) public class LoggingManager extends Object implements GlobalMenuItemsProvider
Constructor and Description |
---|
LoggingManager() |
Modifier and Type | Method and Description |
---|---|
void |
activate(org.osgi.service.component.ComponentContext context) |
GraphNode |
entry(javax.ws.rs.core.UriInfo uriInfo) |
Set<GlobalMenuItem> |
getMenuItems()
Returns a
Set of GlobalMenuItem S. |
javax.ws.rs.core.Response |
setConfiguration(javax.ws.rs.core.UriInfo uriInfo,
String configuration) |
public void activate(org.osgi.service.component.ComponentContext context) throws URISyntaxException, IOException
URISyntaxException
IOException
public GraphNode entry(@Context javax.ws.rs.core.UriInfo uriInfo) throws IOException
IOException
public javax.ws.rs.core.Response setConfiguration(@Context javax.ws.rs.core.UriInfo uriInfo, String configuration) throws IOException
IOException
public Set<GlobalMenuItem> getMenuItems()
GlobalMenuItemsProvider
Set
of GlobalMenuItem
S. If there is
no GlobalMenuItem
available (e.g. the current user has not
the needed permissions) then the returned set is empty.getMenuItems
in interface GlobalMenuItemsProvider
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.