[jboss-user] [JBoss jBPM] - Re: getting node Class type when getting process definition
faizal.rashid
do-not-reply at jboss.com
Tue Jul 25 03:05:15 EDT 2006
this help. but it still not allow me to cast it to the real object. so after looking around, this is the solution that i found :
| if (node instanceof HibernateProxy) {
| node = (Node) ((HibernateProxy) node).getHibernateLazyInitializer()
| .getImplementation();
| }
|
then i can do something like :
| if (node instanceof TaskNode) {
| taskNode = (TaskNode) node;
| }
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960593#3960593
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960593
More information about the jboss-user
mailing list