public abstract class AbstractDSpaceWebapp extends Object implements DSpaceWebappMXBean
| Modifier and Type | Field and Description |
|---|---|
protected String |
kind |
protected Date |
started |
protected String |
url |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractDSpaceWebapp()
Prevent null instantiation.
|
|
AbstractDSpaceWebapp(String kind)
Construct a particular kind of DSpace application.
|
| Modifier and Type | Method and Description |
|---|---|
void |
deregister()
Record that this application is not running.
|
static List<AbstractDSpaceWebapp> |
getApps()
Return the list of running applications.
|
String |
getKind()
What kind of webapp? XMLUI, OAI, etc.
|
String |
getStarted()
When did this application start?
|
String |
getURL()
What is the base URL of this application?
|
void |
register()
Record that this application is running.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisUIprotected AbstractDSpaceWebapp()
public AbstractDSpaceWebapp(String kind)
kind - what kind of application is this? (XMLUI, JSPUI, etc.)public void register()
public void deregister()
public static List<AbstractDSpaceWebapp> getApps()
public String getKind()
DSpaceWebappMXBeangetKind in interface DSpaceWebappMXBeanpublic String getURL()
DSpaceWebappMXBeangetURL in interface DSpaceWebappMXBeanpublic String getStarted()
DSpaceWebappMXBeangetStarted in interface DSpaceWebappMXBeanCopyright © 2013 DuraSpace. All Rights Reserved.