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)
           
 Grid getGrid()
           
 String getId()
           
 void init(Object context)
           
 boolean isDisposed()
           
 boolean isLocalProxy()
           
 boolean isRemote()
           
 void set(String identifier, Object object)
           
 void setGrid(Grid grid)
           
 void setLocalProxy(boolean proxy)
           
 
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

isDisposed

public boolean isDisposed()
Specified by:
isDisposed in interface Service

isRemote

public boolean isRemote()
Specified by:
isRemote in interface GridNode

isLocalProxy

public boolean isLocalProxy()
Specified by:
isLocalProxy in interface GridNode

setLocalProxy

public void setLocalProxy(boolean proxy)

getGrid

public Grid getGrid()
Specified by:
getGrid in interface GridNode

setGrid

public void setGrid(Grid grid)


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