org.codehaus.enunciate.modules.jersey
Class AdvisedResourceFactory<T>

java.lang.Object
  extended by org.springframework.aop.framework.ProxyConfig
      extended by org.springframework.aop.framework.AdvisedSupport
          extended by org.springframework.aop.framework.ProxyCreatorSupport
              extended by org.springframework.aop.framework.ProxyFactory
                  extended by org.codehaus.enunciate.modules.jersey.AdvisedResourceFactory<T>
All Implemented Interfaces:
java.io.Serializable, org.springframework.aop.framework.Advised, org.springframework.aop.framework.AopProxy, org.springframework.aop.TargetClassAware

public class AdvisedResourceFactory<T>
extends org.springframework.aop.framework.ProxyFactory

Factory for JSR 311 resources that are advised.

Author:
Ryan Heaton
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.springframework.aop.framework.AdvisedSupport
EMPTY_TARGET_SOURCE
 
Constructor Summary
AdvisedResourceFactory(java.lang.Class<T> resourceClass)
          Create an advised resource factory for the specified class.
 
Method Summary
 java.lang.Object createAdvisedResource(T bareResource)
           
protected  boolean dynamicProxySupportable(java.util.Set<java.lang.Class> definingClasses)
           
protected  java.util.Set<java.lang.Class> getDefiningClasses(com.sun.jersey.api.model.AbstractResource resourceClass)
           
 
Methods inherited from class org.springframework.aop.framework.ProxyFactory
getProxy, getProxy, getProxy, getProxy, getProxy
 
Methods inherited from class org.springframework.aop.framework.ProxyCreatorSupport
addListener, adviceChanged, createAopProxy, getAopProxyFactory, isActive, removeListener, setAopProxyFactory
 
Methods inherited from class org.springframework.aop.framework.AdvisedSupport
addAdvice, addAdvice, addAdvisor, addAdvisor, addAllAdvisors, addInterface, adviceIncluded, copyConfigurationFrom, copyConfigurationFrom, countAdvicesOfType, getAdvisorChainFactory, getAdvisors, getAdvisorsInternal, getInterceptorsAndDynamicInterceptionAdvice, getProxiedInterfaces, getTargetClass, getTargetSource, indexOf, indexOf, isInterfaceProxied, isPreFiltered, removeAdvice, removeAdvisor, removeAdvisor, removeInterface, replaceAdvisor, setAdvisorChainFactory, setInterfaces, setPreFiltered, setTarget, setTargetClass, setTargetSource, toProxyConfigString, toString, updateAdvisorArray
 
Methods inherited from class org.springframework.aop.framework.ProxyConfig
copyFrom, isExposeProxy, isFrozen, isOpaque, isOptimize, isProxyTargetClass, setExposeProxy, setFrozen, setOpaque, setOptimize, setProxyTargetClass
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.springframework.aop.framework.Advised
isExposeProxy, isFrozen, isProxyTargetClass, setExposeProxy
 

Constructor Detail

AdvisedResourceFactory

public AdvisedResourceFactory(java.lang.Class<T> resourceClass)
Create an advised resource factory for the specified class.

Parameters:
resourceClass - The resource class.
Method Detail

dynamicProxySupportable

protected boolean dynamicProxySupportable(java.util.Set<java.lang.Class> definingClasses)

createAdvisedResource

public java.lang.Object createAdvisedResource(T bareResource)

getDefiningClasses

protected java.util.Set<java.lang.Class> getDefiningClasses(com.sun.jersey.api.model.AbstractResource resourceClass)