|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HostServiceRegistry
Registry of services for this host. The shared instance of the registry is bound in the RMI boot-registry (at the standard port) and may be obtained via X.findRegistry().
Nested Class Summary | |
---|---|
static class |
HostServiceRegistry.UniqueID
An identifier, each instance of which is guaranteed to be unique within a single run of the desk daemon. |
static class |
HostServiceRegistry.X
Service registry utilities. |
Method Summary | ||
---|---|---|
File |
allInOneJar()
Returns the file path of an all-in-one textbender JAR, suitable as a codebase for applets and applications. |
|
|
getService(Class<S> serviceInterface)
Returns an instance of the specified service. |
|
HostServiceRegistry.UniqueID |
nextUniqueID()
Returns the next unique identifier. |
|
URL |
resolveJarURL()
Deprecated. |
Method Detail |
---|
@ThreadSafe File allInOneJar() throws IOException
IOException
- if the JAR is unavailable,
or the JAR file cannot be createdBootApplet
@ThreadSafe <S extends Remote> S getService(Class<S> serviceInterface) throws RemoteException
serviceInterface
- specifying the service
AccessException
- if the caller is from another host.
Services are provided only to the local host.
RemoteException
@ThreadSafe HostServiceRegistry.UniqueID nextUniqueID() throws RemoteException
RemoteException
@Deprecated @ThreadSafe URL resolveJarURL() throws IOException
IOException
allInOneJar()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |