Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
frascati
frascati
Commits
b68a896c
Commit
b68a896c
authored
Aug 16, 2010
by
Lionel Seinturier
Browse files
Support @EndsConversation methods in non @Conversational annotated interfaces.
parent
dd21d70b
Changes
4
Hide whitespace changes
Inline
Side-by-side
tinfi/RELEASE_NOTES.txt
View file @
b68a896c
Tinfi 1.3.2
-----------
* support @EndsConversation methods in non @Conversational annotated interfaces
* fix proxy generation for generic methods to enable compilation with javac
...
...
tinfi/examples/advanced/tests-conf/src/test/java/org/ow2/frascati/tinfi/ScopeTestCase.java
View file @
b68a896c
...
...
@@ -292,6 +292,7 @@ public class ScopeTestCase {
/**
* @since 1.3.2
*/
@Test
public
void
testScopeConversationCallback
()
throws
ClassNotFoundException
,
InstantiationException
,
IllegalAccessException
,
...
...
tinfi/opt/oo/src/main/java/org/ow2/frascati/tinfi/opt/oo/CallableReferenceClassGenerator.java
View file @
b68a896c
...
...
@@ -151,10 +151,13 @@ extends AbstractProxyClassGenerator {
* example for callback interfaces associated with conversation
* scoped components.
*/
mv
.
visitln
(
" "
+
ConversationImpl
.
class
.
getName
()+
" conv =
get
Conversation();"
);
mv
.
visitln
(
" "
+
ConversationImpl
.
class
.
getName
()+
" conv =
peek
Conversation();"
);
}
mv
.
visitln
(
" conv.end();"
);
mv
.
visitln
(
" popConversation();"
);
}
if
(
conversationalItf
!=
null
)
{
mv
.
visitln
(
" conv.access();"
);
mv
.
visitln
(
" popConversation();"
);
}
}
...
...
tinfi/opt/oo/src/main/java/org/ow2/frascati/tinfi/opt/oo/ServiceReferenceClassGenerator.java
View file @
b68a896c
...
...
@@ -249,7 +249,7 @@ extends AbstractProxyClassGenerator {
* example for callback interfaces associated with conversation
* scoped components.
*/
mv
.
visitln
(
" "
+
ConversationImpl
.
class
.
getName
()+
" conv =
get
Conversation();"
);
mv
.
visitln
(
" "
+
ConversationImpl
.
class
.
getName
()+
" conv =
peek
Conversation();"
);
}
mv
.
visitln
(
" conv.end();"
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment