You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by ajith s <aj...@india.com> on 2004/08/28 09:31:23 UTC
how can we restrict an user from further creaion of an Object
of same class
hai iam ajithkumar from india is it possible for you to get me a solution for which iam in hook of,
How can the user be restricted from creating an Object for a similar class more than once
whose function is realy implemented in servlet
allowing to create one Object with ,many thread
--
India.com free e-mail - www.india.com.
Check out our value-added Premium features, such as an extra 20MB for mail storage, POP3, e-mail forwarding, and ads-free mailboxes!
Powered by Outblaze
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org
Re: how can we restrict an user from further creaion of an Object
of same class
Posted by Michael McGrady <mi...@michaelmcgrady.com>.
ajith s wrote:
>hai iam ajithkumar from india is it possible for you to get me a solution for which iam in hook of,
>
>How can the user be restricted from creating an Object for a similar class more than once
>
>
>whose function is realy implemented in servlet
>
>allowing to create one Object with ,many thread
>
>
Can you restate this question? I am not sure what the end of the
quesion means. I think you are asking whether you can keep a user from
creating more than one of a particular class. Without looking at the
other things you have said, I would begin thinking of keeping a static
map of users which would cache the object a user has previously created.
Michael
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org