org.gwe.api
Class ServerAPILink

java.lang.Object
  extended by org.gwe.api.ServerAPILink

public class ServerAPILink
extends java.lang.Object

Since:
Dec 13, 2007
Author:
Marco Ruiz

Constructor Summary
ServerAPILink(HeadResourceInfo daemonInfo, ResourceLink<HostHandle> link)
           
 
Method Summary
<RT extends java.rmi.Remote>
RT
createAPIProxy(java.lang.Class<RT> remoteClass)
           
 Session4MonitorAPI createEventMonitor()
           
 HeadResourceInfo getDaemonInfo()
           
static
<RT extends java.rmi.Remote>
java.lang.String
getFullRegistryId(HeadResourceInfo daemonInfo, java.lang.Class<RT> remoteClass)
           
 ResourceLink<HostHandle> getHostLink()
           
static
<RT> java.lang.String
getRegistryId(java.lang.Class<RT> remoteClass)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerAPILink

public ServerAPILink(HeadResourceInfo daemonInfo,
                     ResourceLink<HostHandle> link)
Method Detail

getRegistryId

public static <RT> java.lang.String getRegistryId(java.lang.Class<RT> remoteClass)

getFullRegistryId

public static <RT extends java.rmi.Remote> java.lang.String getFullRegistryId(HeadResourceInfo daemonInfo,
                                                                              java.lang.Class<RT> remoteClass)

getDaemonInfo

public HeadResourceInfo getDaemonInfo()

getHostLink

public ResourceLink<HostHandle> getHostLink()

createEventMonitor

public Session4MonitorAPI createEventMonitor()
                                      throws java.lang.Exception
Throws:
java.lang.Exception

createAPIProxy

public <RT extends java.rmi.Remote> RT createAPIProxy(java.lang.Class<RT> remoteClass)
                                          throws java.net.URISyntaxException,
                                                 java.rmi.RemoteException,
                                                 java.rmi.NotBoundException
Throws:
java.net.URISyntaxException
java.rmi.RemoteException
java.rmi.NotBoundException


Copyright © 2007-2009. All Rights Reserved.