KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > SOFA > SOFAnode > Made > TIR > Impl > SContainer


1 /* $Id: SContainer.java,v 1.2 2004/05/20 14:23:52 bures Exp $ */
2 package SOFA.SOFAnode.Made.TIR.Impl;
3 import java.rmi.Remote JavaDoc;
4 import java.rmi.RemoteException JavaDoc;
5
6 import SOFA.SOFAnode.Made.TIR.Contained;
7 import SOFA.SOFAnode.Made.TIR.DefinitionKind;
8 import SOFA.SOFAnode.Made.TIR.Identification;
9 import SOFA.SOFAnode.Made.TIR.TIRExceptLock;
10
11 /* for implementation purposes */
12 public interface SContainer extends Remote JavaDoc {
13   public Contained slookup(Identification id) throws RemoteException JavaDoc, TIRExceptLock;
14   public Contained slookup(String JavaDoc name, String JavaDoc version) throws RemoteException JavaDoc, TIRExceptLock;
15   public Contained[] slookup_name(Identification id) throws RemoteException JavaDoc, TIRExceptLock;
16   public Contained[] slookup_name(String JavaDoc name) throws RemoteException JavaDoc, TIRExceptLock;
17   public Contained[] scontents(DefinitionKind type) throws RemoteException JavaDoc, TIRExceptLock;
18
19   /* return workId for which is locked or -1 if isn't locked */
20   public long isLockedForCreate() throws RemoteException JavaDoc ;
21 }
22
Popular Tags