org.drools.grid.remote
Class GridNodeRemoteClient<T>

java.lang.Object
  extended by org.drools.grid.remote.GridNodeRemoteClient<T>
All Implemented Interfaces:
GridNode, GridService, Service

public class GridNodeRemoteClient<T>
extends Object
implements GridNode


Constructor Summary
GridNodeRemoteClient(Grid grid, GridServiceDescription gsd)
           
 
Method Summary
 void dispose()
           
<T> T
get(Class<T> serviceClass)
           
<T> T
get(String identifier, Class<T> cls)
           
 String getId()
           
 void init(Object context)
           
 void set(String identifier, Object object)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GridNodeRemoteClient

public GridNodeRemoteClient(Grid grid,
                            GridServiceDescription gsd)
Method Detail

get

public <T> T get(String identifier,
                 Class<T> cls)
Specified by:
get in interface GridNode

get

public <T> T get(Class<T> serviceClass)
Specified by:
get in interface GridNode

set

public void set(String identifier,
                Object object)
Specified by:
set in interface GridNode

getId

public String getId()
Specified by:
getId in interface GridService

init

public void init(Object context)
Specified by:
init in interface Service

dispose

public void dispose()
Specified by:
dispose in interface Service


Copyright © 2001-2011 JBoss by Red Hat. All Rights Reserved.