info.jedi
Class LocalRepository
java.lang.Object
|
+--info.jedi.Repository
|
+--info.jedi.LocalRepository
- Direct Known Subclasses:
- LocalRepositoryImplementation
- public abstract class LocalRepository
- extends Repository
An abstract class representing a repository on a local machine.
You can not only look up objects, but bind and unbind names to
specific objects in this virtual machine. The default
implementation of a LocalRepository is LocalRepositoryImplementation.
The LocalRepository has a server that controls access from the
outside world through remote method calls.
- See Also:
Repository
,
LocalRepositoryImplementation
Method Summary |
abstract void |
bind(java.lang.String newName,
java.lang.Object object)
Binds a name to an object |
abstract MailDaemon |
mailDaemon()
Returns the MailDaemon that handles remote method call
requests for this Repository |
abstract void |
unbind(java.lang.String newName)
removes a name and the corresponding object from the
repository |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
LocalRepository
public LocalRepository()
bind
public abstract void bind(java.lang.String newName,
java.lang.Object object)
- Binds a name to an object
unbind
public abstract void unbind(java.lang.String newName)
- removes a name and the corresponding object from the
repository
mailDaemon
public abstract MailDaemon mailDaemon()
- Returns the MailDaemon that handles remote method call
requests for this Repository