Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright (c) 2013 EclipseSource and others. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at Contributors: Holger Staudacher - initial API and implementation, ongoing development /
package com.eclipsesource.jaxrs.connector;
public class ServiceProperties {

When registering a

see com.eclipsesource.jaxrs.publisher.ServiceProperties.PUBLISH
or @Provider annotated object as an OSGi service the connector does publish this resource automatically. Anyway, in some scenarios it's not wanted to publish those services. If you want a resource not publish set this property as a service property with the value false.
  private ServiceProperties() {
    // prevent instantiation
New to GrepCode? Check out our FAQ X