deltaspike-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Struberg (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DELTASPIKE-24) Deactivatable
Date Sun, 22 Jan 2012 13:54:40 GMT

    [ https://issues.apache.org/jira/browse/DELTASPIKE-24?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13190677#comment-13190677
] 

Mark Struberg commented on DELTASPIKE-24:
-----------------------------------------

> currently they just can't use the helper which is used by deltaspike itself.

The clear intent was that our Deactivatable stuff is also usable for Seam3, CODI and other
custom Extension libs.

This is now easily doable by just using

ClassDeactivation
public static synchronized boolean isActivated(Class<? extends Deactivatable> deactivatableClazz)

e.g. 

if (!ClassDeactivation.isActivated(getClass())) return;

                
> Deactivatable
> -------------
>
>                 Key: DELTASPIKE-24
>                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-24
>             Project: DeltaSpike
>          Issue Type: New Feature
>          Components: Core
>            Reporter: Gerhard Petracek
>            Assignee: Mark Struberg
>             Fix For: 0.1
>
>         Attachments: DELTASPIKE-24.patch
>
>
> original feature: https://issues.apache.org/jira/browse/EXTCDI-66

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message