public class MyBean
        implements EntityBean
{
        private EntityContext mContext;

        public void setEntityContext(EntityContext aContext)
        {
                mContext = aContext;
        }

        public void unsetEntityContext()
        {
        mContext = null;
        }
}

Nothing tricky...

Gene


-----Original Message-----
From: A mailing list for Enterprise JavaBeans development
[mailto:[EMAIL PROTECTED]]On Behalf Of Dave Ford
Sent: Friday, September 01, 2000 8:33 AM
To: [EMAIL PROTECTED]
Subject: set and unset context


Can someone give a practical example of what might go in the
setEntityContext and unsetEntityContext methods?

Thanks

Dave

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to