|
DJDoc v.1.0.0b-1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.djdoc.bo.Apis
public class Apis
The Apis
class is a utility class used for registering and
deregistering APIs for the DJDoc web application.
Method Summary | |
---|---|
static void |
destroy()
Cleanup method; shuts down the monitor thread. |
static Api |
getApi(java.lang.String name)
This method retrieves an individual Api from the API cache. |
static java.util.Collection<Api> |
getApiList()
This method returns the list of all Api objects from the
API cache, sorted by their names. |
static void |
setup(java.io.File confDir,
int interval)
This is an initialization method for the utility class. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void setup(java.io.File confDir, int interval)
confDir
- The File
specifying the location from where
the API configuration files are readinterval
- The interval (in milliseconds) at which the API
configuration directory is monitored for changespublic static void destroy()
public static Api getApi(java.lang.String name)
Api
from the API cache.
name
- The name of the Api
to be retrieved
Api
object of the specified namepublic static java.util.Collection<Api> getApiList()
Api
objects from the
API cache, sorted by their names.
Api
objects
|
DJDoc v.1.0.0b-1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |