put protected before the function name...  

Not sure if this is what you are looking for, but it sounds like it.  Pretty basic 
Java.

protected void setWhatever(){ 


Travis

---- Original Message ----
From: Alan Honczar <[EMAIL PROTECTED]>
Sent: 2001-12-21 07:06:10.0
To: JRun-Talk <[EMAIL PROTECTED]>
Subject: Protecting methods

Hi, 
        I am writing an EJB that has many methods
to access the DB, and I am trying to protect them
to only be called from EJBs from the same package.
I clustering and using Remote Interface to call that
methods. Do you know a way to make them protected?
Any clues or other ways to do the same?

Sorry about the inconvenience of this sort of 
question here...

TIA,

______________________________________________________________________
Macromedia ColdFusion 5 Training from the Source
  Step by Step ColdFusion
  http://www.amazon.com/exec/obidos/ASIN/0201758474/houseoffusion
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to