KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > versant > core > jdo > PMFServer


1
2 /*
3  * Copyright (c) 1998 - 2005 Versant Corporation
4  * All rights reserved. This program and the accompanying materials
5  * are made available under the terms of the Eclipse Public License v1.0
6  * which accompanies this distribution, and is available at
7  * http://www.eclipse.org/legal/epl-v10.html
8  *
9  * Contributors:
10  * Versant Corporation - initial API and implementation
11  */

12 package com.versant.core.jdo;
13
14 /**
15  * PMFs with remote access enabled will create these to handle requests from
16  * remote clients. These can also be added to an existing PMF (see
17  * {@link VersantPMFInternal#addPMFServer(PMFServer)}.
18  */

19 public interface PMFServer {
20
21     /**
22      * Initialize to accept connections for the pmf. This is not called on
23      * PMFServer's added to an existing PMF.
24      */

25     public void init(VersantPMFInternal pmf);
26
27     /**
28      * Start accepting connections. This is not called on
29      * PMFServer's added to an existing PMF.
30      */

31     public void start() throws Exception JavaDoc;
32
33     /**
34      * Close this server releasing all resources.
35      */

36     public void close();
37
38 }
39
40
Popular Tags