|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.extensions.surf.util.AbstractLifecycleBean
org.alfresco.filesys.NFSServerBean
public class NFSServerBean
NFS Server Class
Create and start the various server components required to run the NFS server.
Field Summary |
---|
Fields inherited from class org.springframework.extensions.surf.util.AbstractLifecycleBean |
---|
log |
Constructor Summary | |
---|---|
NFSServerBean(org.alfresco.jlan.server.config.ServerConfiguration serverConfig)
Class constructor |
Method Summary | |
---|---|
org.alfresco.jlan.server.config.ServerConfiguration |
getConfiguration()
Return the server configuration |
boolean |
isStarted()
Check if the server is started/enabled |
static void |
main(java.lang.String[] args)
Runs the NFS server directly |
protected void |
onBootstrap(org.springframework.context.ApplicationEvent event)
|
protected void |
onShutdown(org.springframework.context.ApplicationEvent event)
|
void |
setNodeMonitor(NfsServerNodeMonitor nodeMonitor)
|
void |
startServer()
Start the NFS server components |
void |
stopServer()
Stop the NFS server components |
Methods inherited from class org.springframework.extensions.surf.util.AbstractLifecycleBean |
---|
getApplicationContext, onApplicationEvent, setApplicationContext |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NFSServerBean(org.alfresco.jlan.server.config.ServerConfiguration serverConfig)
serverConfig
- ServerConfigurationMethod Detail |
---|
public final org.alfresco.jlan.server.config.ServerConfiguration getConfiguration()
public void setNodeMonitor(NfsServerNodeMonitor nodeMonitor)
public boolean isStarted()
public final void startServer() throws java.net.SocketException, java.io.IOException
java.net.SocketException
- If a network error occurs
java.io.IOException
- If an I/O error occurspublic final void stopServer()
public static void main(java.lang.String[] args)
args
- String[]protected void onBootstrap(org.springframework.context.ApplicationEvent event)
onBootstrap
in class org.springframework.extensions.surf.util.AbstractLifecycleBean
protected void onShutdown(org.springframework.context.ApplicationEvent event)
onShutdown
in class org.springframework.extensions.surf.util.AbstractLifecycleBean
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |