Hi Shannon,

 

I don't see any API for singleton persistence. The XMLPersistenceHelper uses
the key to generate a unique file name, so maybe the API can be abstracted
some to allow for use with a user defined key. But as of now, I don't see
any suitable utility for use.

 

Rachana

 

  _____  

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Shannon Hastings
Sent: Tuesday, November 20, 2007 11:03 AM
To: [email protected]
Subject: [gt-user] XMLPersistenceHelper and Singletons

 

Does the XMLPersistenceHelper work with the Singletons.  It looks like it
expects the resources to have keys.  It the resource is a singleton it does
not have a key, or not likely.  Is there a preferred way, in ws-core,  to
persist singletons so that they can survive and container shutdown.

 

Shannon

 

 

Shannon Hastings

co-Director

Software Research Institute

Department of Biomedical Informatics

Ohio State University

 

Office:  (614) 292-9461

Lab:  (614) 292-9845

[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 

 

Reply via email to