LocalizationMessages.COMPONENT_CONTRACTS_EMPTY_OR_NULL
Code IndexAdd Codota to your IDE (free)

Best Java code snippets using org.glassfish.jersey.internal.LocalizationMessages.COMPONENT_CONTRACTS_EMPTY_OR_NULL (Showing top 14 results out of 315)

origin: jersey/jersey

@Override
public CommonConfig register(final Object component, final Class<?>... contracts) {
  checkProviderNotNull(component);
  final Class<?> componentClass = component.getClass();
  if (contracts == null || contracts.length == 0) {
    LOGGER.warning(LocalizationMessages.COMPONENT_CONTRACTS_EMPTY_OR_NULL(componentClass));
    return this;
  }
  if (componentBag.register(component, asNewIdentitySet(contracts), getModelEnhancer(componentClass))) {
    processFeatureRegistration(component, componentClass);
  }
  return this;
}
origin: jersey/jersey

@Override
public CommonConfig register(final Object component, final Class<?>... contracts) {
  checkProviderNotNull(component);
  final Class<?> componentClass = component.getClass();
  if (contracts == null || contracts.length == 0) {
    LOGGER.warning(LocalizationMessages.COMPONENT_CONTRACTS_EMPTY_OR_NULL(componentClass));
    return this;
  }
  if (componentBag.register(component, asNewIdentitySet(contracts), getModelEnhancer(componentClass))) {
    processFeatureRegistration(component, componentClass);
  }
  return this;
}
origin: jersey/jersey

@Override
public CommonConfig register(final Class<?> componentClass, final Class<?>... contracts) {
  checkComponentClassNotNull(componentClass);
  if (contracts == null || contracts.length == 0) {
    LOGGER.warning(LocalizationMessages.COMPONENT_CONTRACTS_EMPTY_OR_NULL(componentClass));
    return this;
  }
  if (componentBag.register(componentClass, asNewIdentitySet(contracts), getModelEnhancer(componentClass))) {
    processFeatureRegistration(null, componentClass);
  }
  return this;
}
origin: jersey/jersey

@Override
public CommonConfig register(final Class<?> componentClass, final Class<?>... contracts) {
  checkComponentClassNotNull(componentClass);
  if (contracts == null || contracts.length == 0) {
    LOGGER.warning(LocalizationMessages.COMPONENT_CONTRACTS_EMPTY_OR_NULL(componentClass));
    return this;
  }
  if (componentBag.register(componentClass, asNewIdentitySet(contracts), getModelEnhancer(componentClass))) {
    processFeatureRegistration(null, componentClass);
  }
  return this;
}
origin: org.glassfish.jersey.core/jersey-common

@Override
public CommonConfig register(final Object component, final Class<?>... contracts) {
  checkProviderNotNull(component);
  final Class<?> componentClass = component.getClass();
  if (contracts == null || contracts.length == 0) {
    LOGGER.warning(LocalizationMessages.COMPONENT_CONTRACTS_EMPTY_OR_NULL(componentClass));
    return this;
  }
  if (componentBag.register(component, asNewIdentitySet(contracts), getModelEnhancer(componentClass))) {
    processFeatureRegistration(component, componentClass);
  }
  return this;
}
origin: org.glassfish.jersey.bundles/jaxrs-ri

@Override
public CommonConfig register(final Object component, final Class<?>... contracts) {
  checkProviderNotNull(component);
  final Class<?> componentClass = component.getClass();
  if (contracts == null || contracts.length == 0) {
    LOGGER.warning(LocalizationMessages.COMPONENT_CONTRACTS_EMPTY_OR_NULL(componentClass));
    return this;
  }
  if (componentBag.register(component, asNewIdentitySet(contracts), getModelEnhancer(componentClass))) {
    processFeatureRegistration(component, componentClass);
  }
  return this;
}
origin: hstaudacher/osgi-jax-rs-connector

@Override
public CommonConfig register(final Object component, final Class<?>... contracts) {
  checkProviderNotNull(component);
  final Class<?> componentClass = component.getClass();
  if (contracts == null || contracts.length == 0) {
    LOGGER.warning(LocalizationMessages.COMPONENT_CONTRACTS_EMPTY_OR_NULL(componentClass));
    return this;
  }
  if (componentBag.register(component, asNewIdentitySet(contracts), getModelEnhancer(componentClass))) {
    processFeatureRegistration(component, componentClass);
  }
  return this;
}
origin: com.eclipsesource.jaxrs/jersey-all

@Override
public CommonConfig register(final Object component, final Class<?>... contracts) {
  checkProviderNotNull(component);
  final Class<?> componentClass = component.getClass();
  if (contracts == null || contracts.length == 0) {
    LOGGER.warning(LocalizationMessages.COMPONENT_CONTRACTS_EMPTY_OR_NULL(componentClass));
    return this;
  }
  if (componentBag.register(component, asNewIdentitySet(contracts), getModelEnhancer(componentClass))) {
    processFeatureRegistration(component, componentClass);
  }
  return this;
}
origin: hstaudacher/osgi-jax-rs-connector

@Override
public CommonConfig register(final Object component, final Class<?>... contracts) {
  checkProviderNotNull(component);
  final Class<?> componentClass = component.getClass();
  if (contracts == null || contracts.length == 0) {
    LOGGER.warning(LocalizationMessages.COMPONENT_CONTRACTS_EMPTY_OR_NULL(componentClass));
    return this;
  }
  if (componentBag.register(component, asNewIdentitySet(contracts), getModelEnhancer(componentClass))) {
    processFeatureRegistration(component, componentClass);
  }
  return this;
}
origin: org.glassfish.jersey.core/jersey-common

@Override
public CommonConfig register(final Class<?> componentClass, final Class<?>... contracts) {
  checkComponentClassNotNull(componentClass);
  if (contracts == null || contracts.length == 0) {
    LOGGER.warning(LocalizationMessages.COMPONENT_CONTRACTS_EMPTY_OR_NULL(componentClass));
    return this;
  }
  if (componentBag.register(componentClass, asNewIdentitySet(contracts), getModelEnhancer(componentClass))) {
    processFeatureRegistration(null, componentClass);
  }
  return this;
}
origin: org.glassfish.jersey.bundles/jaxrs-ri

@Override
public CommonConfig register(final Class<?> componentClass, final Class<?>... contracts) {
  checkComponentClassNotNull(componentClass);
  if (contracts == null || contracts.length == 0) {
    LOGGER.warning(LocalizationMessages.COMPONENT_CONTRACTS_EMPTY_OR_NULL(componentClass));
    return this;
  }
  if (componentBag.register(componentClass, asNewIdentitySet(contracts), getModelEnhancer(componentClass))) {
    processFeatureRegistration(null, componentClass);
  }
  return this;
}
origin: com.eclipsesource.jaxrs/jersey-all

@Override
public CommonConfig register(final Class<?> componentClass, final Class<?>... contracts) {
  checkComponentClassNotNull(componentClass);
  if (contracts == null || contracts.length == 0) {
    LOGGER.warning(LocalizationMessages.COMPONENT_CONTRACTS_EMPTY_OR_NULL(componentClass));
    return this;
  }
  if (componentBag.register(componentClass, asNewIdentitySet(contracts), getModelEnhancer(componentClass))) {
    processFeatureRegistration(null, componentClass);
  }
  return this;
}
origin: hstaudacher/osgi-jax-rs-connector

@Override
public CommonConfig register(final Class<?> componentClass, final Class<?>... contracts) {
  checkComponentClassNotNull(componentClass);
  if (contracts == null || contracts.length == 0) {
    LOGGER.warning(LocalizationMessages.COMPONENT_CONTRACTS_EMPTY_OR_NULL(componentClass));
    return this;
  }
  if (componentBag.register(componentClass, asNewIdentitySet(contracts), getModelEnhancer(componentClass))) {
    processFeatureRegistration(null, componentClass);
  }
  return this;
}
origin: hstaudacher/osgi-jax-rs-connector

@Override
public CommonConfig register(final Class<?> componentClass, final Class<?>... contracts) {
  checkComponentClassNotNull(componentClass);
  if (contracts == null || contracts.length == 0) {
    LOGGER.warning(LocalizationMessages.COMPONENT_CONTRACTS_EMPTY_OR_NULL(componentClass));
    return this;
  }
  if (componentBag.register(componentClass, asNewIdentitySet(contracts), getModelEnhancer(componentClass))) {
    processFeatureRegistration(null, componentClass);
  }
  return this;
}
org.glassfish.jersey.internalLocalizationMessagesCOMPONENT_CONTRACTS_EMPTY_OR_NULL

Javadoc

Attempt to register component of type {0} to null or empty array of contracts is ignored.

Popular methods of LocalizationMessages

  • ERROR_READING_ENTITY_MISSING
    Missing entity.
  • INJECTION_ERROR_LOCAL_CLASS_NOT_SUPPORTED
    Cannot instantiate {0} class. Instantiation of local classes is not supported.
  • INJECTION_ERROR_NONSTATIC_MEMBER_CLASS_NOT_SUPPORTED
    Cannot instantiate {0} class. Instantiation of non-static member classes is not supported.
  • INJECTION_ERROR_SUITABLE_CONSTRUCTOR_NOT_FOUND
    Could not find a suitable constructor in {0} class.
  • MULTIPLE_MATCHING_CONSTRUCTORS_FOUND
    Found {0} constructors with {1} parameters in {2} class. Selecting the first found constructor: {3}
  • AUTODISCOVERABLE_CONFIGURATION_FAILED
    Configuration of {0} auto-discoverable failed.
  • CACHE_CONTROL_IS_NULL
    Cache control is null.
  • COMMITTING_STREAM_ALREADY_INITIALIZED
    Stream provider has already been initialized.
  • COMPONENT_CANNOT_BE_NULL
    Registered component instance cannot be null.
  • COMPONENT_CLASS_CANNOT_BE_NULL
    Registered component class cannot be null.
  • COMPONENT_TYPE_ALREADY_REGISTERED
    Cannot create new registration for component type {0}: Existing previous registration found for the
  • CONFIGURATION_NOT_MODIFIABLE
    The configuration is not modifiable in this context.
  • COMPONENT_TYPE_ALREADY_REGISTERED,
  • CONFIGURATION_NOT_MODIFIABLE,
  • CONTRACT_NOT_ASSIGNABLE,
  • CONTRACT_NOT_SUPPORTED,
  • COOKIE_IS_NULL,
  • DATE_IS_NULL,
  • DEPENDENT_CLASS_OF_PROVIDER_FORMAT_ERROR,
  • DEPENDENT_CLASS_OF_PROVIDER_NOT_FOUND,
  • ENTITY_TAG_IS_NULL

Popular in Java

  • Running tasks concurrently on multiple threads
  • getContentResolver (Context)
  • setContentView (Activity)
  • notifyDataSetChanged (ArrayAdapter)
  • BufferedInputStream (java.io)
    A BufferedInputStream adds functionality to another input stream-namely, the ability to buffer the i
  • FileOutputStream (java.io)
    An output stream that writes bytes to a file. If the output file exists, it can be replaced or appen
  • String (java.lang)
  • Properties (java.util)
    A Properties object is a Hashtable where the keys and values must be Strings. Each property can have
  • Stack (java.util)
    Stack is a Last-In/First-Out(LIFO) data structure which represents a stack of objects. It enables u
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.

For IntelliJ IDEA,
Android Studio or Eclipse

  • Search for JavaScript code betaCodota IntelliJ IDEA pluginCodota Android Studio pluginCode IndexSign in
  • EnterpriseFAQAboutBlogContact Us
  • Plugin user guideTerms of usePrivacy policyCodeboxFind Usages
Add Codota to your IDE (free)