| java.lang.Object org.lucane.server.Service
All known Subclasses: org.lucane.applications.sqlnavigator.SqlService, org.lucane.applications.shutdown.ShutdownService, org.lucane.applications.sharedfolder.SharedFolderService, org.lucane.applications.passwdchanger.PasswdChangerService, org.lucane.applications.webadmin.WebAdminService, org.lucane.extensions.pdfbox.PdfBoxService, org.lucane.applications.administrator.AdministratorService, org.lucane.applications.jmail.JMailService, org.lucane.applications.forum.ForumService, org.lucane.applications.userprofile.UserProfileService, org.lucane.applications.sendmail.SendMailService, org.lucane.applications.calendar.CalendarService, org.lucane.applications.notes.NotesService, org.lucane.applications.maininterface.MainInterfaceService, org.lucane.applications.rssreader.RssService, org.lucane.applications.jmailaccount.JMailAccountService, org.lucane.webconnector.WebConnector, org.lucane.applications.jmailadmin.JMailAdminService, org.lucane.applications.forumadmin.ForumAdminService, org.lucane.applications.todolist.TodolistService, org.lucane.applications.reminder.ReminderService,
Service | abstract public class Service (Code) | | This interface has to be implemented by a service in order to run
inside the server as an internal service and not requiring opening a new port
and running a distinct processus.
|
getDirectory | public String getDirectory()(Code) | | Return the service base directory
the service directory |
getName | public String getName()(Code) | | Get a service class name
the class name |
init | public void init(Server parent)(Code) | | Initialize the service.
Called every time the server is started.
Parameters: parent - the Server |
install | public void install()(Code) | | Install the service.
Only called the first time a service is initialized.
|
process | abstract public void process(ObjectConnection oc, Message message)(Code) | | Called each time a request for this service has to be treated.
Parameters: oc - the connection Parameters: message - the message |
shutdown | public void shutdown()(Code) | | Shutdown the service.
Called at server shutdown
|
|
|