本文整理匯總了Java中org.glassfish.jersey.server.ResourceConfig.forApplicationClass方法的典型用法代碼示例。如果您正苦於以下問題:Java ResourceConfig.forApplicationClass方法的具體用法?Java ResourceConfig.forApplicationClass怎麽用?Java ResourceConfig.forApplicationClass使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類org.glassfish.jersey.server.ResourceConfig
的用法示例。
在下文中一共展示了ResourceConfig.forApplicationClass方法的7個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。
示例1: get
import org.glassfish.jersey.server.ResourceConfig; //導入方法依賴的package包/類
@Override
public ResourceConfig get() {
return ResourceConfig.forApplicationClass(JerseyApplication.class);
}
示例2: ResourceTest
import org.glassfish.jersey.server.ResourceConfig; //導入方法依賴的package包/類
/**
* Creates a new web-resource test.
*/
public ResourceTest() {
super(ResourceConfig.forApplicationClass(CoreWebApplication.class));
configureProperties();
}
示例3: ControlMetricsResourceTest
import org.glassfish.jersey.server.ResourceConfig; //導入方法依賴的package包/類
/**
* Constructs a control metrics resource test instance.
*/
public ControlMetricsResourceTest() {
super(ResourceConfig.forApplicationClass(CPManWebApplication.class));
}
示例4: ControlMetricsCollectorResourceTest
import org.glassfish.jersey.server.ResourceConfig; //導入方法依賴的package包/類
/**
* Constructs a control metrics collector resource test instance.
*/
public ControlMetricsCollectorResourceTest() {
super(ResourceConfig.forApplicationClass(CPManWebApplication.class));
}
示例5: AclWebResourceTest
import org.glassfish.jersey.server.ResourceConfig; //導入方法依賴的package包/類
/**
* Constructs a control metrics collector resource test instance.
*/
public AclWebResourceTest() {
super(ResourceConfig.forApplicationClass(AclWebApplication.class));
}
示例6: PceResourceTest
import org.glassfish.jersey.server.ResourceConfig; //導入方法依賴的package包/類
/**
* Creates a new web-resource test.
*/
public PceResourceTest() {
super(ResourceConfig.forApplicationClass(PceWebApplication.class));
}
示例7: VtnResourceTest
import org.glassfish.jersey.server.ResourceConfig; //導入方法依賴的package包/類
/**
* Creates a new web-resource test.
*/
public VtnResourceTest() {
super(ResourceConfig.forApplicationClass(VtnWebApplication.class));
}