Skip to content
This repository was archived by the owner on May 28, 2018. It is now read-only.

Commit 94f0152

Browse files
author
eoff
committed
Merge branch 'master' of https://github.com/jersey/jersey
2 parents bcf93c2 + a1af627 commit 94f0152

File tree

5 files changed

+514
-621
lines changed

5 files changed

+514
-621
lines changed

containers/glassfish/jersey-gf-cdi/src/main/java/org/glassfish/jersey/gf/cdi/internal/CdiComponentProvider.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -411,8 +411,10 @@ public boolean bind(final Class<?> clazz, final Set<Class<?>> providerContracts)
411411

412412
@Override
413413
public void done() {
414-
bindHk2ClassAnalyzer();
415-
bindWaeRestoringExceptionMapper();
414+
if (beanManager != null) {
415+
bindHk2ClassAnalyzer();
416+
bindWaeRestoringExceptionMapper();
417+
}
416418
}
417419

418420
private void bindWaeRestoringExceptionMapper() {

docs/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@
9797
<plugin>
9898
<groupId>com.agilejava.docbkx</groupId>
9999
<artifactId>docbkx-maven-plugin</artifactId>
100-
<version>2.0.14</version>
100+
<version>2.0.15</version>
101101
<dependencies>
102102
<dependency>
103103
<groupId>net.sf.docbook</groupId>

docs/src/main/docbook/client.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -659,7 +659,7 @@ webTarget.request().post(Entity.entity(f, MediaType.TEXT_PLAIN_TYPE));
659659
<listitem>&lit.http.header.Transfer-Encoding;</listitem>
660660
<listitem>&lit.http.header.Upgrade;</listitem>
661661
<listitem>&lit.http.header.Via;</listitem>
662-
<listitem>all the headers starting with &lit.http.header.Sec-prefix;</listitem>
662+
<listitem>all the headers starting with &lit.http.header.Sec.prefix;</listitem>
663663
</itemizedlist>
664664
The underlying connection can be configured to permit all headers to be sent,
665665
however this behaviour can be changed only by setting the system property

docs/src/main/docbook/filters.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
44
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
55
6-
Copyright (c) 2012-2013 Oracle and/or its affiliates. All rights reserved.
6+
Copyright (c) 2012-2014 Oracle and/or its affiliates. All rights reserved.
77
88
The contents of this file are subject to the terms of either the GNU
99
General Public License Version 2 only ("GPL") or the Common Development
@@ -619,7 +619,7 @@ public class CompressionDynamicBinding implements DynamicFeature {
619619
The example contains one <literal>HelloWorldResource</literal> which is known from the previous name binding example.
620620
The difference is in the <literal>getVeryLongString</literal> method, which now does not define
621621
the <literal>@Compress</literal> name binding annotations. The binding is done
622-
using the provider which implements &jaxrs.server.DynamicFeature; interface. The interface defines
622+
using the provider which implements &jaxrs.container.DynamicFeature; interface. The interface defines
623623
one <literal>configure</literal>
624624
method with two arguments, <literal>ResourceInfo</literal> and <literal>FeatureContext</literal>.
625625
<literal>ResourceInfo</literal> contains information about the resource and method to which the binding can be done.

0 commit comments

Comments
 (0)