Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 917742

Summary: Provide accessability of types and metadata for declare-d types
Product: [JBoss] JBoss Enterprise BRMS Platform 5 Reporter: Amana <ajuricic>
Component: BRE (Expert, Fusion)Assignee: Nobody <nobody>
Status: CLOSED UPSTREAM QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: BRMS 5.3.0.GA   
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-02-10 03:27:32 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.