com.sun.jersey.server.impl.wadl
Class WadlFactory
java.lang.Object
com.sun.jersey.server.impl.wadl.WadlFactory
public final class WadlFactory
- extends Object
- Author:
- Paul.Sandoz@Sun.Com
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WadlFactory
public WadlFactory(ResourceConfig resourceConfig)
isSupported
public boolean isSupported()
createWadlApplicationContext
public WadlApplicationContext createWadlApplicationContext(Set<AbstractResource> rootResources)
init
public void init(InjectableProviderFactory ipf,
Set<AbstractResource> rootResources)
createWadlOptionsMethod
public ResourceMethod createWadlOptionsMethod(Map<String,List<ResourceMethod>> methods,
AbstractResource resource,
PathPattern p)
- Create the WADL resource method for OPTIONS.
This is created using reflection so that there is no runtime
dependency on JAXB. If the JAXB jars are not in the class path
then WADL generation will not be supported.
- Parameters:
resource
- the resource model
- Returns:
- the WADL resource OPTIONS method
Copyright © 2013 Oracle Corporation. All Rights Reserved.