cancel
Showing results for 
Search instead for 
Did you mean: 

How to kill UMFactory Object?

Former Member
0 Kudos

Hi

When I am trying to fetch modified user details through UMFactory, I am not getting the latest user details, but the previous ones. This is because of the UMFactory.initialize() and UMFactory.getInstance() methods.

I believe the getInstance() gives us singleton object but it should not be the case for initialize(), if I am not wrong.

Can someone suggest me how do I kill UMFactory object and do the initialization afresh?

Regards

Sanjay

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos
Former Member
0 Kudos

James,

Thanks. we used UserFactory.InvalidateCache() which refreshes the users in the UserFactory and fetches fresh data from the database.

Answers (1)

Answers (1)

Former Member
0 Kudos

Sanjay,

You must define an additional method in the component’s interface controller, which you use to call the execution context processingComplete method.

Check

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/1eb928a1-0601-0010-f890-be9...

Page 274.

James