[jira] [Updated] (DELTASPIKE-419) Interceptors on partial beans
[ https://issues.apache.org/jira/browse/DELTASPIKE-419?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thomas Andraschko updated DELTASPIKE-419: - Fix Version/s: 1.2.2 Interceptors on partial beans - Key: DELTASPIKE-419 URL: https://issues.apache.org/jira/browse/DELTASPIKE-419 Project: DeltaSpike Issue Type: New Feature Components: PartialBean Affects Versions: 0.5 Reporter: Harald Wellmann Assignee: Thomas Andraschko Fix For: 1.2.2 Partial beans should support interceptors. Currently, an interceptor binding on an abstract partial bean class has no effect at all, since all methods of the Javassist proxy class for the partial bean are final. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Comment Edited] (DELTASPIKE-419) Interceptors on partial beans
[ https://issues.apache.org/jira/browse/DELTASPIKE-419?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14320058#comment-14320058 ] Thomas Andraschko edited comment on DELTASPIKE-419 at 2/13/15 1:20 PM: --- Now possible due DELTASPIKE-823 and a PartialBeanProvider will be documented soon was (Author: tandraschko): Now possible due DELTASPIKE-823 Interceptors on partial beans - Key: DELTASPIKE-419 URL: https://issues.apache.org/jira/browse/DELTASPIKE-419 Project: DeltaSpike Issue Type: New Feature Components: PartialBean Affects Versions: 0.5 Reporter: Harald Wellmann Assignee: Thomas Andraschko Fix For: 1.2.2 Partial beans should support interceptors. Currently, an interceptor binding on an abstract partial bean class has no effect at all, since all methods of the Javassist proxy class for the partial bean are final. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Resolved] (DELTASPIKE-647) AppScoped abstract repositories doesn't work
[ https://issues.apache.org/jira/browse/DELTASPIKE-647?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thomas Andraschko resolved DELTASPIKE-647. -- Resolution: Fixed AppScoped abstract repositories doesn't work Key: DELTASPIKE-647 URL: https://issues.apache.org/jira/browse/DELTASPIKE-647 Project: DeltaSpike Issue Type: Bug Components: Data-Module Reporter: Thomas Andraschko Assignee: Thomas Andraschko Fix For: 1.2.2 Attachments: 0001-Failing-PartialBeans-test.patch, DELTASPIKE-647.patch, DS-647.7z -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (DELTASPIKE-647) AppScoped abstract repositories doesn't work
[ https://issues.apache.org/jira/browse/DELTASPIKE-647?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thomas Andraschko updated DELTASPIKE-647: - Fix Version/s: 1.2.2 AppScoped abstract repositories doesn't work Key: DELTASPIKE-647 URL: https://issues.apache.org/jira/browse/DELTASPIKE-647 Project: DeltaSpike Issue Type: Bug Components: Data-Module Reporter: Thomas Andraschko Assignee: Mark Struberg Fix For: 1.2.2 Attachments: 0001-Failing-PartialBeans-test.patch, DELTASPIKE-647.patch, DS-647.7z -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Assigned] (DELTASPIKE-647) AppScoped abstract repositories doesn't work
[ https://issues.apache.org/jira/browse/DELTASPIKE-647?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thomas Andraschko reassigned DELTASPIKE-647: Assignee: Thomas Andraschko (was: Mark Struberg) AppScoped abstract repositories doesn't work Key: DELTASPIKE-647 URL: https://issues.apache.org/jira/browse/DELTASPIKE-647 Project: DeltaSpike Issue Type: Bug Components: Data-Module Reporter: Thomas Andraschko Assignee: Thomas Andraschko Fix For: 1.2.2 Attachments: 0001-Failing-PartialBeans-test.patch, DELTASPIKE-647.patch, DS-647.7z -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Reopened] (DELTASPIKE-420) Transactional repositories
[ https://issues.apache.org/jira/browse/DELTASPIKE-420?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gerhard Petracek reopened DELTASPIKE-420: - Assignee: Jozef Hartinger (was: Thomas Hug) as mentioned at DELTASPIKE-823 it works with weld, but not with wildfly. it would be great if we can support wildfly as well. Transactional repositories -- Key: DELTASPIKE-420 URL: https://issues.apache.org/jira/browse/DELTASPIKE-420 Project: DeltaSpike Issue Type: New Feature Components: Data-Module Affects Versions: 0.5 Reporter: Harald Wellmann Assignee: Jozef Hartinger Fix For: 1.2.2 Attachments: DELTASPIKE-420_spi.patch It's nice to get semi-automatic repositories from DeltaSpike Data, but these repositories would be even more fun if they were transactional, not necessarily by default, but at least by simple configuration. Possible approaches: 1) Add @Transactional to an abstract repository class, i.e. javax.transaction.Transactional in Java EE 7, or org.apache.deltaspike.jpa.api.transaction.Transactional otherwise. Currently, this does not work due to DELTASPIKE-419. 2) Make it easy to override the @Repository binding or the query handler, to add transactional behaviour. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Resolved] (DELTASPIKE-420) Transactional repositories
[ https://issues.apache.org/jira/browse/DELTASPIKE-420?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thomas Andraschko resolved DELTASPIKE-420. -- Resolution: Fixed Transactional repositories -- Key: DELTASPIKE-420 URL: https://issues.apache.org/jira/browse/DELTASPIKE-420 Project: DeltaSpike Issue Type: New Feature Components: Data-Module Affects Versions: 0.5 Reporter: Harald Wellmann Assignee: Thomas Hug Fix For: 1.2.2 Attachments: DELTASPIKE-420_spi.patch It's nice to get semi-automatic repositories from DeltaSpike Data, but these repositories would be even more fun if they were transactional, not necessarily by default, but at least by simple configuration. Possible approaches: 1) Add @Transactional to an abstract repository class, i.e. javax.transaction.Transactional in Java EE 7, or org.apache.deltaspike.jpa.api.transaction.Transactional otherwise. Currently, this does not work due to DELTASPIKE-419. 2) Make it easy to override the @Repository binding or the query handler, to add transactional behaviour. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (DELTASPIKE-420) Transactional repositories
[ https://issues.apache.org/jira/browse/DELTASPIKE-420?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thomas Andraschko updated DELTASPIKE-420: - Fix Version/s: 1.2.2 Transactional repositories -- Key: DELTASPIKE-420 URL: https://issues.apache.org/jira/browse/DELTASPIKE-420 Project: DeltaSpike Issue Type: New Feature Components: Data-Module Affects Versions: 0.5 Reporter: Harald Wellmann Assignee: Thomas Hug Fix For: 1.2.2 Attachments: DELTASPIKE-420_spi.patch It's nice to get semi-automatic repositories from DeltaSpike Data, but these repositories would be even more fun if they were transactional, not necessarily by default, but at least by simple configuration. Possible approaches: 1) Add @Transactional to an abstract repository class, i.e. javax.transaction.Transactional in Java EE 7, or org.apache.deltaspike.jpa.api.transaction.Transactional otherwise. Currently, this does not work due to DELTASPIKE-419. 2) Make it easy to override the @Repository binding or the query handler, to add transactional behaviour. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Resolved] (DELTASPIKE-419) Interceptors on partial beans
[ https://issues.apache.org/jira/browse/DELTASPIKE-419?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thomas Andraschko resolved DELTASPIKE-419. -- Resolution: Fixed Interceptors on partial beans - Key: DELTASPIKE-419 URL: https://issues.apache.org/jira/browse/DELTASPIKE-419 Project: DeltaSpike Issue Type: New Feature Components: PartialBean Affects Versions: 0.5 Reporter: Harald Wellmann Assignee: Thomas Andraschko Fix For: 1.2.2 Partial beans should support interceptors. Currently, an interceptor binding on an abstract partial bean class has no effect at all, since all methods of the Javassist proxy class for the partial bean are final. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Resolved] (DELTASPIKE-823) Reimplement Partial-Bean module
[ https://issues.apache.org/jira/browse/DELTASPIKE-823?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thomas Andraschko resolved DELTASPIKE-823. -- Resolution: Fixed Reimplement Partial-Bean module --- Key: DELTASPIKE-823 URL: https://issues.apache.org/jira/browse/DELTASPIKE-823 Project: DeltaSpike Issue Type: Task Components: PartialBean Reporter: Thomas Andraschko Assignee: Thomas Andraschko Fix For: 1.2.2 Attachments: DELTASPIKE-823.patch via ASM proxies to get rid of following tickets: https://issues.apache.org/jira/browse/DELTASPIKE-419 https://issues.apache.org/jira/browse/DELTASPIKE-420 https://issues.apache.org/jira/browse/DELTASPIKE-647 performance should be better too... -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (DELTASPIKE-823) Reimplement Partial-Bean module
[ https://issues.apache.org/jira/browse/DELTASPIKE-823?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thomas Andraschko updated DELTASPIKE-823: - Fix Version/s: 1.2.2 Reimplement Partial-Bean module --- Key: DELTASPIKE-823 URL: https://issues.apache.org/jira/browse/DELTASPIKE-823 Project: DeltaSpike Issue Type: Task Components: PartialBean Reporter: Thomas Andraschko Assignee: Thomas Andraschko Fix For: 1.2.2 Attachments: DELTASPIKE-823.patch via ASM proxies to get rid of following tickets: https://issues.apache.org/jira/browse/DELTASPIKE-419 https://issues.apache.org/jira/browse/DELTASPIKE-420 https://issues.apache.org/jira/browse/DELTASPIKE-647 performance should be better too... -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (DELTASPIKE-647) AppScoped abstract repositories doesn't work
[ https://issues.apache.org/jira/browse/DELTASPIKE-647?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14320064#comment-14320064 ] Thomas Andraschko commented on DELTASPIKE-647: -- Fixed by DELTASPIKE-823 and for OWB 1.2.x by OWB-1036 AppScoped abstract repositories doesn't work Key: DELTASPIKE-647 URL: https://issues.apache.org/jira/browse/DELTASPIKE-647 Project: DeltaSpike Issue Type: Bug Components: Data-Module Reporter: Thomas Andraschko Assignee: Mark Struberg Attachments: 0001-Failing-PartialBeans-test.patch, DELTASPIKE-647.patch, DS-647.7z -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Reopened] (DELTASPIKE-419) Interceptors on partial beans
[ https://issues.apache.org/jira/browse/DELTASPIKE-419?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thomas Andraschko reopened DELTASPIKE-419: -- Assignee: Thomas Andraschko Now possible due DELTASPIKE-823 Interceptors on partial beans - Key: DELTASPIKE-419 URL: https://issues.apache.org/jira/browse/DELTASPIKE-419 Project: DeltaSpike Issue Type: New Feature Components: PartialBean Affects Versions: 0.5 Reporter: Harald Wellmann Assignee: Thomas Andraschko Fix For: 1.2.2 Partial beans should support interceptors. Currently, an interceptor binding on an abstract partial bean class has no effect at all, since all methods of the Javassist proxy class for the partial bean are final. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (DELTASPIKE-420) Transactional repositories
[ https://issues.apache.org/jira/browse/DELTASPIKE-420?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14320105#comment-14320105 ] Thomas Andraschko commented on DELTASPIKE-420: -- Interceptors are now suppored via DELTASPIKE-823 Transactional repositories -- Key: DELTASPIKE-420 URL: https://issues.apache.org/jira/browse/DELTASPIKE-420 Project: DeltaSpike Issue Type: New Feature Components: Data-Module Affects Versions: 0.5 Reporter: Harald Wellmann Assignee: Thomas Hug Fix For: 1.2.2 Attachments: DELTASPIKE-420_spi.patch It's nice to get semi-automatic repositories from DeltaSpike Data, but these repositories would be even more fun if they were transactional, not necessarily by default, but at least by simple configuration. Possible approaches: 1) Add @Transactional to an abstract repository class, i.e. javax.transaction.Transactional in Java EE 7, or org.apache.deltaspike.jpa.api.transaction.Transactional otherwise. Currently, this does not work due to DELTASPIKE-419. 2) Make it easy to override the @Repository binding or the query handler, to add transactional behaviour. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (DELTASPIKE-805) Provide utils method to check if an context is active or not
[ https://issues.apache.org/jira/browse/DELTASPIKE-805?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thomas Andraschko updated DELTASPIKE-805: - Fix Version/s: (was: 1.3.0) 1.2.2 Provide utils method to check if an context is active or not Key: DELTASPIKE-805 URL: https://issues.apache.org/jira/browse/DELTASPIKE-805 Project: DeltaSpike Issue Type: Improvement Components: Core Reporter: Thomas Andraschko Assignee: Thomas Andraschko Fix For: 1.2.2 public boolean isContextActive(Class? extends Annotation scopeAnnotationClass) { try { BeanManager beanManager = BeanManagerProvider.getInstance().getBeanManager(); if (beanManager.getContext(scopeAnnotationClass) == null || !beanManager.getContext(scopeAnnotationClass).isActive()) { return false; } } catch (ContextNotActiveException cnae) { return false; } return true; } Any idea where i could add this method? -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Resolved] (DELTASPIKE-805) Provide utils method to check if an context is active or not
[ https://issues.apache.org/jira/browse/DELTASPIKE-805?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thomas Andraschko resolved DELTASPIKE-805. -- Resolution: Fixed Provide utils method to check if an context is active or not Key: DELTASPIKE-805 URL: https://issues.apache.org/jira/browse/DELTASPIKE-805 Project: DeltaSpike Issue Type: Improvement Components: Core Reporter: Thomas Andraschko Assignee: Thomas Andraschko Fix For: 1.2.2 public boolean isContextActive(Class? extends Annotation scopeAnnotationClass) { try { BeanManager beanManager = BeanManagerProvider.getInstance().getBeanManager(); if (beanManager.getContext(scopeAnnotationClass) == null || !beanManager.getContext(scopeAnnotationClass).isActive()) { return false; } } catch (ContextNotActiveException cnae) { return false; } return true; } Any idea where i could add this method? -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Resolved] (DELTASPIKE-746) Doc: JSF/ExceptionControl integration redirect example
[ https://issues.apache.org/jira/browse/DELTASPIKE-746?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thomas Andraschko resolved DELTASPIKE-746. -- Resolution: Fixed Doc: JSF/ExceptionControl integration redirect example -- Key: DELTASPIKE-746 URL: https://issues.apache.org/jira/browse/DELTASPIKE-746 Project: DeltaSpike Issue Type: Bug Components: Documentation Reporter: Ron Smeral Assignee: Thomas Andraschko Priority: Minor Fix For: 1.2.2 http://deltaspike.apache.org/documentation/jsf.html#_intergration_with_exception_control_since_0_6 , Redirect example: * {{FacesContext.getCurrentInstance().setResponseComplete();}} is incorrect, the method on FacesContext is called just {{responseComplete()}} * the example should maybe show DS's own {{ViewNavigationHandler}} since it performs the same operation as is demonstrated in the example -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (DELTASPIKE-746) Doc: JSF/ExceptionControl integration redirect example
[ https://issues.apache.org/jira/browse/DELTASPIKE-746?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thomas Andraschko updated DELTASPIKE-746: - Fix Version/s: 1.2.2 Doc: JSF/ExceptionControl integration redirect example -- Key: DELTASPIKE-746 URL: https://issues.apache.org/jira/browse/DELTASPIKE-746 Project: DeltaSpike Issue Type: Bug Components: Documentation Reporter: Ron Smeral Assignee: Thomas Andraschko Priority: Minor Fix For: 1.2.2 http://deltaspike.apache.org/documentation/jsf.html#_intergration_with_exception_control_since_0_6 , Redirect example: * {{FacesContext.getCurrentInstance().setResponseComplete();}} is incorrect, the method on FacesContext is called just {{responseComplete()}} * the example should maybe show DS's own {{ViewNavigationHandler}} since it performs the same operation as is demonstrated in the example -- This message was sent by Atlassian JIRA (v6.3.4#6332)