com.googlecode.xremoting.core.invoked
Class InvocationRestriction

java.lang.Object
  extended by com.googlecode.xremoting.core.invoked.InvocationRestriction

public class InvocationRestriction
extends Object

Restriction on invocation. Currently it only contains a list of exposed interfaces; any invocation of a method which is not defined by one of these interfaces (or their superinterfaces) is rejected.

Author:
Roman Puchkovskiy

Constructor Summary
InvocationRestriction()
           
InvocationRestriction(Class<?> iface)
           
InvocationRestriction(Class<?>[] interfaces)
           
 
Method Summary
 Class<?>[] getInterfaces()
          Returns an array of exposed interfaces.
 void setInterfaces(Class<?>[] interfaces)
          Sets an array of exposed interfaces.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InvocationRestriction

public InvocationRestriction()

InvocationRestriction

public InvocationRestriction(Class<?> iface)

InvocationRestriction

public InvocationRestriction(Class<?>[] interfaces)
Method Detail

getInterfaces

public Class<?>[] getInterfaces()
Returns an array of exposed interfaces.

Returns:
interfaces

setInterfaces

public void setInterfaces(Class<?>[] interfaces)
Sets an array of exposed interfaces.

Parameters:
interfaces - interfaces to set


Copyright © 2012. All Rights Reserved.