[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-3205) Make it easier to get the delegate you want

Emmanuel Bernard (JIRA) jira-events at lists.jboss.org
Wed Jul 30 19:25:25 EDT 2008


    [ https://jira.jboss.org/jira/browse/JBSEAM-3205?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12423128#action_12423128 ] 

Emmanuel Bernard commented on JBSEAM-3205:
------------------------------------------

Why not having Seam do the work? Seam should be smart enough to find that at injection time

@In FullTextSession session; <= inject an underlying session from an HEM definition

BTW the JPA spec will have a method like that.
ftSession = entityManager.unwrap(FullTextSession.class);


> Make it easier to get the delegate you want
> -------------------------------------------
>
>                 Key: JBSEAM-3205
>                 URL: https://jira.jboss.org/jira/browse/JBSEAM-3205
>             Project: Seam
>          Issue Type: Feature Request
>          Components: Core
>            Reporter: Pete Muir
>            Assignee: Emmanuel Bernard
>             Fix For: 2.1.0.BETA2
>
>
> PersistenceProvider.instance.getDelegate(Class clazz) which returns the requested delegate (e.g. a FullTextSession)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list