Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update API to 20090625, mark all old methods still required by TCK as @…
…deprecated, new methods in RI are throw new UnsupportedOperationException() git-svn-id: http://anonsvn.jboss.org/repos/weld/ri/trunk@2895 1c488680-804c-0410-94cd-c6b725194a0e
- Loading branch information
Showing
102 changed files
with
1,039 additions
and
498 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package javax.decorator; | ||
|
||
/** | ||
* The package javax.decorator contains annotations relating to decorators. | ||
*/ |
57 changes: 57 additions & 0 deletions
57
api/src/main/java/javax/enterprise/context/BusyConversationException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
/* | ||
* JBoss, Home of Professional Open Source | ||
* Copyright 2008, Red Hat Middleware LLC, and individual contributors | ||
* by the @authors tag. See the copyright.txt in the distribution for a | ||
* full listing of individual contributors. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
package javax.enterprise.context; | ||
|
||
/** | ||
* The container ensures that a long-running conversation may be associated with | ||
* at most one request at a time, by blocking or rejecting concurrent requests. | ||
* If the container rejects a request, it must associate the request with a new | ||
* transient conversation and throw an exception of type | ||
* {@link BusyConversationException} from the restore view phase of the JSF | ||
* lifecycle. | ||
* | ||
* | ||
* @author Pete Muir | ||
*/ | ||
|
||
public class BusyConversationException extends ContextException | ||
{ | ||
|
||
private static final long serialVersionUID = -3599813072560026919L; | ||
|
||
public BusyConversationException() | ||
{ | ||
super(); | ||
} | ||
|
||
public BusyConversationException(String message) | ||
{ | ||
super(message); | ||
} | ||
|
||
public BusyConversationException(Throwable cause) | ||
{ | ||
super(cause); | ||
} | ||
|
||
public BusyConversationException(String message, Throwable cause) | ||
{ | ||
super(message, cause); | ||
} | ||
|
||
} |
53 changes: 53 additions & 0 deletions
53
api/src/main/java/javax/enterprise/context/ContextException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
/* | ||
* JBoss, Home of Professional Open Source | ||
* Copyright 2008, Red Hat Middleware LLC, and individual contributors | ||
* by the @authors tag. See the copyright.txt in the distribution for a | ||
* full listing of individual contributors. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
package javax.enterprise.context; | ||
|
||
|
||
/** | ||
* A ContextException is the base type for any context problem | ||
* | ||
* @author Pete Muir | ||
* @author Shane Bryzak | ||
*/ | ||
|
||
public class ContextException extends RuntimeException | ||
{ | ||
|
||
private static final long serialVersionUID = -3599813072560026919L; | ||
|
||
public ContextException() | ||
{ | ||
super(); | ||
} | ||
|
||
public ContextException(String message) | ||
{ | ||
super(message); | ||
} | ||
|
||
public ContextException(Throwable cause) | ||
{ | ||
super(cause); | ||
} | ||
|
||
public ContextException(String message, Throwable cause) | ||
{ | ||
super(message, cause); | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
57 changes: 57 additions & 0 deletions
57
api/src/main/java/javax/enterprise/context/NonexistentConversationException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
/* | ||
* JBoss, Home of Professional Open Source | ||
* Copyright 2008, Red Hat Middleware LLC, and individual contributors | ||
* by the @authors tag. See the copyright.txt in the distribution for a | ||
* full listing of individual contributors. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
package javax.enterprise.context; | ||
|
||
/** | ||
* If the propagated conversation cannot be restored, the container must | ||
* associate the request with a new transient conversation and throw an | ||
* exception of type {@link NonexistentConversationException} from the | ||
* restore view phase of the JSF lifecycle. The application may handle this | ||
* exception using the JSF ExceptionHandler. | ||
* | ||
* | ||
* | ||
* @author Pete Muir | ||
*/ | ||
|
||
public class NonexistentConversationException extends ContextException | ||
{ | ||
|
||
private static final long serialVersionUID = -3599813072560026919L; | ||
|
||
public NonexistentConversationException() | ||
{ | ||
super(); | ||
} | ||
|
||
public NonexistentConversationException(String message) | ||
{ | ||
super(message); | ||
} | ||
|
||
public NonexistentConversationException(Throwable cause) | ||
{ | ||
super(cause); | ||
} | ||
|
||
public NonexistentConversationException(String message, Throwable cause) | ||
{ | ||
super(message, cause); | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.