|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
Getting class of activity object through an aciHi all, while developing services I find myself doing a lot of loops
searching for an ACI with an activity that is an instance of a specific class, I think this is common in JAIN SLEE. The issue I see is that we could improve this on specs, by providing a method to retrieve the activity object class on the ActivityContextInterface itself, which would result on not having to retrieve the Activity from the resource adaptor just to check if it's what we are looking for. Further improvements could be to retrieve the iterator of ACIs per activity object class, like a retrieval of sip headers by name. what do you think about this? Regards, Eduardo Martins JBoss R&D ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Visit the JAIN website at http://java.sun.com/products/jain ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
|
|
Re: Getting class of activity object through an aciI have the same experience. One thing I do to avoid this is to use a
private ACI attribute to identify the activity. SLEE 1.1 also helps here by allowing one to put an ACI in a CMP field - most useful! Cheers, David On 13/12/2007, at 12:08 AM, Eduardo Martins wrote: > Hi all, while developing services I find myself doing a lot of loops > searching for an ACI with an activity that is an instance of a > specific class, I think this is common in JAIN SLEE. The issue I see > is that we could improve this on specs, by providing a method to > retrieve the activity object class on the ActivityContextInterface > itself, which would result on not having to retrieve the Activity from > the resource adaptor just to check if it's what we are looking for. > Further improvements could be to retrieve the iterator of ACIs per > activity object class, like a retrieval of sip headers by name. what > do you think about this? > > Regards, > > Eduardo Martins > JBoss R&D > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Visit the JAIN website at http://java.sun.com/products/jain > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- Dr David Page, Chief Scientist, OpenCloud e: davidp@... m: +6421422061 w: http://www.opencloud.com This message and any attachments contain information that is confidential and may be subject to legal privilege and copyright. If you are not the intended recipient, you must not disclose, use, copy, or transmit in any form or by any means any part of this information. If you received this message in error please contact OpenCloud by return email and destroy this message and all attachments. Open Cloud accepts no responsibility for changes made to this email or to any attachments after transmission from OpenCloud as emails are not secure and cannot be guaranteed to be error free. Please refer to opencloud.com for more information ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Visit the JAIN website at http://java.sun.com/products/jain ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| Free embeddable forum powered by Nabble | Forum Help |