yueming wrote:
 I don't want default roles to be defined like in
but if t modify FortressRoleManager ,
if affect other funtion?

Those default roles were put there to make it compatible with all the components in Excalibur at that time. It was designed so that if you didn't have those components installed it would not set those roles for you. However, as soon as they are in the classpath, they are automatically available without any work on your part.

Since the RoleManagers are heirarchical, you can always override the
FortressRoleManager definitions.

The system always includes it at the bottom of the stack unless you
provide your own to the FortressConfig class.

Modifications to the FortressRoleManager (the hardcoded one) won't
really affect anything.  There is a configurable role manager and
the meta managers that load the meta info from extra files in the
class path.  There should be plenty of options to do what you want.

--

"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning."
- Rich Cook


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Apache Excalibur Project -- URL: http://excalibur.apache.org/



Reply via email to