org.xenei.jena.entities.impl
Class ResourceEntityProxy
java.lang.Object
org.xenei.jena.entities.impl.ResourceEntityProxy
- All Implemented Interfaces:
- org.apache.commons.proxy.Invoker
public class ResourceEntityProxy
- extends Object
- implements org.apache.commons.proxy.Invoker
Implements the invoker that the proxy uses.
This method intercepts the annotated entity methods as well as the ResourceWrapper.getResource() method.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResourceEntityProxy
public ResourceEntityProxy(EntityManager entityManager,
com.hp.hpl.jena.rdf.model.Resource resource,
SubjectInfo subjectInfo)
- The constructor
- Parameters:
entityManager - The entity manager to use.resource - The resource that is being wrappedsubjectInfo - The subjectInfo for the resource.
invoke
public Object invoke(Object proxy,
Method m,
Object[] args)
throws Throwable
- Invokes an method on the proxy.
- Specified by:
invoke in interface org.apache.commons.proxy.Invoker
- Throws:
Throwable
Copyright © 2012 XENEI.com. All Rights Reserved.