jaugment2.jini
Class ExclusiveRessourceUserEntry

java.lang.Object
  |
  +--jaugment2.jini.ExclusiveRessourceUserEntry

public class ExclusiveRessourceUserEntry
extends java.lang.Object
implements net.jini.core.entry.Entry

Entry, that can be added to a service so as to enable other service knowing the ressource to claim it. This is an Entry so that administrators can atach it to existing services.

See Also:
Serialized Form

Field Summary
private  java.lang.Object[] freeMethodArgs
           
private  java.lang.Class[] freeMethodArgTypes
           
private  java.lang.String freeMethodname
           
private  java.lang.String ressourcename
           
 
Constructor Summary
ExclusiveRessourceUserEntry(java.lang.String ressourcename, java.lang.String freeMethodname, java.lang.Class[] freeMethodArgTypes, java.lang.Object[] freeMethodArgs)
           
 
Method Summary
 boolean freeRessource(java.lang.Object proxy)
           
 java.lang.String getRessourcename()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

ressourcename

private java.lang.String ressourcename

freeMethodname

private java.lang.String freeMethodname

freeMethodArgs

private java.lang.Object[] freeMethodArgs

freeMethodArgTypes

private java.lang.Class[] freeMethodArgTypes
Constructor Detail

ExclusiveRessourceUserEntry

public ExclusiveRessourceUserEntry(java.lang.String ressourcename,
                                   java.lang.String freeMethodname,
                                   java.lang.Class[] freeMethodArgTypes,
                                   java.lang.Object[] freeMethodArgs)
Method Detail

getRessourcename

public java.lang.String getRessourcename()

freeRessource

public boolean freeRessource(java.lang.Object proxy)