|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.avalon.fortress.examples.extended.components.ExtendedComponentImpl
TestComponentImpl, demonstrating the use of a custom
lifecycle stage SecurityManageable. This code does
a simple access check for several files on the file system and logs
the results accordingly.
| Field Summary |
| Fields inherited from interface org.apache.avalon.fortress.examples.extended.components.ExtendedComponent |
ROLE |
| Constructor Summary | |
ExtendedComponentImpl()
|
|
| Method Summary | |
void |
secure(java.lang.SecurityManager manager)
Pass a SecurityManager object to the component |
| Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled |
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ExtendedComponentImpl()
| Method Detail |
public void secure(java.lang.SecurityManager manager)
throws java.lang.SecurityException
secure in interface SecurityManageablemanager - a SecurityManager value
java.lang.SecurityException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||