org.openrdf.http.object.behaviours
Class ProxyObjectSupport

java.lang.Object
  extended by org.openrdf.http.object.behaviours.ProxyObjectSupport
All Implemented Interfaces:
ProxyObject, RDFObject

public abstract class ProxyObjectSupport
extends java.lang.Object
implements ProxyObject, RDFObject

Redirects method calls to method with @method or @operation over HTTP to their object IRI authority.

Author:
James Leigh

Field Summary
 
Fields inherited from interface org.openrdf.repository.object.RDFObject
GET_CONNECTION, GET_RESOURCE
 
Constructor Summary
ProxyObjectSupport()
           
 
Method Summary
 java.net.InetSocketAddress getProxyObjectInetAddress(ObjectMessage msg)
           
 void initLocalFileObject(java.io.File file, boolean readOnly)
           
 java.lang.Object invokeRemote(java.lang.reflect.Method method, java.lang.Object[] parameters)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.openrdf.http.object.traits.ProxyObject
getProxyObjectInetAddress
 
Methods inherited from interface org.openrdf.repository.object.RDFObject
getObjectConnection, getResource
 

Constructor Detail

ProxyObjectSupport

public ProxyObjectSupport()
Method Detail

initLocalFileObject

public void initLocalFileObject(java.io.File file,
                                boolean readOnly)
Specified by:
initLocalFileObject in interface ProxyObject

getProxyObjectInetAddress

public java.net.InetSocketAddress getProxyObjectInetAddress(ObjectMessage msg)

invokeRemote

public java.lang.Object invokeRemote(java.lang.reflect.Method method,
                                     java.lang.Object[] parameters)
                              throws java.lang.Exception
Specified by:
invokeRemote in interface ProxyObject
Throws:
java.lang.Exception


Copyright © 2004-2011 James Leigh Services Inc.. All Rights Reserved.