|
AXL RADIUS Server API V3 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
ObjectModule
Class to test and track modules.
Modules are added features to the RADIUS server like EAPTLS authentication and other functionality.
Modules are constructed so that they're implementations need not be present but the server will still function. Access by the server components is achieved using consistent module naming of classes and packages.
e.g. EAPTLS is the name of the module.
The abstract class is EAPTLS.class in the .module package.
The package for the EAPTLS is module.eaptls. The implementation
is module.eaptls.EAPTLSImpl.class.
The field to register is eaptls.
| Constructor Summary | |
Module()
Default constructor. |
|
Module(Gb g)
Constructor. |
|
| Method Summary | |
Object |
getInstance(String moduleName,
Object obj)
Get an implementation of the module. |
boolean |
test(String moduleName)
Tests to see that a class with the module name exists. |
| Methods inherited from class Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Module()
public Module(Gb g)
g - general information object.| Method Detail |
public Object getInstance(String moduleName,
Object obj)
throws RADIUSServerException
moduleName - Name of module to instantiate.
The module name may either be relative to the module package or a fully qualified
class path. In some cases the class loader doesn't provide the necessary package
information so even where the class is relative to the module packet it will be necessary
to use a full path to the class.obj - Object argument for the constructor. May be null.
RADIUSServerException - if there is a problem instantiating the class.
No exception is thrown if the class does not exist.public boolean test(String moduleName)
moduleName - Name of module to instantiate.
The module name may either be relative to the module package or a fully qualified
class path. In some cases the class loader doesn't provide the necessary package
information so even where the class is relative to the module packet it will be necessary
to use a full path to the class.
|
AXL RADIUS Server API V3 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||