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: NEW
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: 2023-05-01 08:28 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
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


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