gluu
静的公開メンバ関数 | 全メンバ一覧
org.gluu.oxtrust.util.Deployments クラス
org.gluu.oxtrust.util.Deployments 連携図
Collaboration graph

静的公開メンバ関数

static WebArchive createDeployment ()
 

詳解

Creates a deployment from a build Web Archive using ShrinkWrap ZipImporter

著者
Yuriy Movchan

関数詳解

◆ createDeployment()

static WebArchive org.gluu.oxtrust.util.Deployments.createDeployment ( )
inlinestatic
14  {
15  final WebArchive war = ShrinkWrap.create(WebArchive.class, "oxtrust.war")
16  // adding the configuration class silences the logged exception
17  // when building the configuration on the server-side, but
18  // shouldn't be necessary
19  // .addClass(JettyEmbeddedConfiguration.class)
20  // Resteasy services
21  // .addClass(ResteasyInitializer.class)
22  // .addPackage(GluuConfigurationWS.class.getPackage())
23  // Servlets
24  .addAsWebInfResource("jetty-env.xml").addAsWebInfResource(EmptyAsset.INSTANCE, "beans.xml")
25  .setWebXML("web.xml");
26  return war;
27  }

このクラス詳解は次のファイルから抽出されました: