Re: Serialization of an object containing an ArrayList
- From: mdb <m_b_r_a_y@c_t_i_u_s_a__d0t__com>
- Date: Wed, 22 Jun 2005 15:21:22 -0700
"Bry" <bryanhobson@xxxxxxxxx> wrote in news:1119478468.118469.216790
@g43g2000cwa.googlegroups.com:
> As I don't require all of the properties stored in each
> ServiceController instance (I only need to preserve Name and State), I
> supose I should create a class of my own, containing only the required
> information.
Sounds like you are on the right track... to extend it though, I would say
you should only preserve the Name (not state). The state should be queried
at the time that you need it, since between sessions of your application,
the state may have changed.
--
-mdb
.
- Follow-Ups:
- References:
- Prev by Date: Re: Re-entrancy, shortcuts in a TreeView
- Next by Date: Re: Service and system shutdown
- Previous by thread: Re: Serialization of an object containing an ArrayList
- Next by thread: Re: Serialization of an object containing an ArrayList
- Index(es):
Relevant Pages
|