Bug 917742 - Provide accessability of types and metadata for declare-d types
Summary: Provide accessability of types and metadata for declare-d types
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: JBoss Enterprise BRMS Platform 5
Classification: JBoss
Component: BRE (Expert, Fusion)
Version: BRMS 5.3.0.GA
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-03-04 16:58 UTC by Amana
Modified: 2025-02-10 03:27 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-02-10 03:27:32 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker JBRULES-2792 0 None Closed None 2013-04-27 04:37:16 UTC

Description Amana 2013-03-04 16:58:15 UTC
Currently it is not possible to get annotations from declared entities in Guvnor. It seems to be related to this jira: https://issues.jboss.org/browse/JBRULES-2792

_______________________________________________________________________________
    All types created or enhanced by a DRL declare construct must be retrievable from the KnowledgeBase using
    Declare getDeclare( String pkg, String name )
    A Declare object must provide getters String getPackageName(), getName(), Map<String,Object> getMetaData() (same as Rule)
    A Declare object must provide Class<?> getFactClass() returning the created or enhanced java-lang.Class.
    A Declare object must provide long getInferredExpires() returning (for @role(event)) the inferred expiration offset or -1 if none.

Comment 1 JBoss JIRA Server 2013-03-04 17:11:05 UTC
Davide Sottara <dsotty> made a comment on jira JBRULES-2792

The fix has been merged in 5.5.1-SNAPSHOT and master. Will be available in 5.6-Final and 6.0

Comment 2 JBoss JIRA Server 2013-04-27 04:37:17 UTC
Davide Sottara <dsotty> updated the status of jira JBRULES-2792 to Closed

Comment 6 Red Hat Bugzilla 2025-02-10 03:27:32 UTC
This product has been discontinued or is no longer tracked in Red Hat Bugzilla.


Note You need to log in before you can comment on or make changes to this bug.