jvn.JvnLocalServer Interface Reference

Inheritance diagram for jvn.JvnLocalServer:

Inheritance graph
[legend]

List of all members.

Public Member Functions

JvnObject jvnCreateObject (Serializable jos) throws jvn.JvnException
void jvnRegisterObject (String jon, JvnObject jo) throws jvn.JvnException
JvnObject jvnLookupObject (String jon, Class<?extends JvnObject > type) throws jvn.JvnException
Serializable jvnLockRead (int joi) throws JvnException
Serializable jvnLockWrite (int joi) throws JvnException
void jvnTerminate () throws jvn.JvnException


Detailed Description

Local interface of a JVN server (used by the applications). An application can get the reference of a JVN server through the static method jvnGetServer() (see JvnServerImpl).

Definition at line 18 of file JvnLocalServer.java.


Member Function Documentation

JvnObject jvn.JvnLocalServer.jvnCreateObject ( Serializable  jos  )  throws jvn.JvnException

create of a JVN object

Parameters:
jos : the JVN object state
Returns:
the JVN object
Exceptions:
JvnException 

Implemented in jvn.JvnServerImpl.

void jvn.JvnLocalServer.jvnRegisterObject ( String  jon,
JvnObject  jo 
) throws jvn.JvnException

Associate a symbolic name with a JVN object

Parameters:
jon : the JVN object name
jo : the JVN object
Exceptions:
JvnException 

Implemented in jvn.JvnServerImpl.

JvnObject jvn.JvnLocalServer.jvnLookupObject ( String  jon,
Class<?extends JvnObject type 
) throws jvn.JvnException

Get the reference of a JVN object associated to a symbolic name

Parameters:
jon : the JVN object symbolic name
Returns:
the JVN object
Exceptions:
JvnException 

Implemented in jvn.JvnServerImpl.

Serializable jvn.JvnLocalServer.jvnLockRead ( int  joi  )  throws JvnException

Get a Read lock on a JVN object

Parameters:
joi : the JVN object identification
Returns:
the current JVN object state
Exceptions:
JvnException 

Implemented in jvn.JvnServerImpl.

Serializable jvn.JvnLocalServer.jvnLockWrite ( int  joi  )  throws JvnException

Get a Write lock on a JVN object

Parameters:
joi : the JVN object identification
Returns:
the current JVN object state
Exceptions:
JvnException 

Implemented in jvn.JvnServerImpl.

void jvn.JvnLocalServer.jvnTerminate (  )  throws jvn.JvnException

The JVN service is not used anymore by the application

Exceptions:
JvnException 

Implemented in jvn.JvnServerImpl.


The documentation for this interface was generated from the following file:
Generated on Wed Jan 2 10:15:59 2008 for Javanaise by  doxygen 1.5.4