org.jboss.seam.annotations.Destroy.<init>()方法的使用及代码示例

x33g5p2x  于2022-01-18 转载在 其他  
字(3.0k)|赞(0)|评价(0)|浏览(141)

本文整理了Java中org.jboss.seam.annotations.Destroy.<init>()方法的一些代码示例,展示了Destroy.<init>()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Destroy.<init>()方法的具体详情如下:
包路径:org.jboss.seam.annotations.Destroy
类名称:Destroy
方法名:<init>

Destroy.<init>介绍

暂无

代码示例

代码示例来源:origin: org.jboss.seam/jboss-seam

@Destroy
public void shutdown()
{
 if (entityManagerFactory!=null)
 {
   entityManagerFactory.close();
 }
}

代码示例来源:origin: org.jboss.seam/jboss-seam

@Destroy
public void destroy()
{
 executor.shutdown();
 try
 {
   executor.awaitTermination(5, TimeUnit.SECONDS);
 }
 catch (InterruptedException ie)
 {
    }
}

代码示例来源:origin: org.jboss.seam/jboss-seam-ioc

@Destroy
public void destroy() 
{
 if (webApplicationContext != null && webApplicationContext instanceof ConfigurableWebApplicationContext) 
 {
   ((ConfigurableWebApplicationContext) webApplicationContext).close();
 }
}

代码示例来源:origin: org.jboss.seam/jboss-seam

@Destroy
public void destroy() throws JMSException
{
 queueSender.close();
}

代码示例来源:origin: org.jboss.seam/jboss-seam

@Destroy
public void destroy() throws JMSException
{
 topicPublisher.close();
}

代码示例来源:origin: org.jboss.seam/jboss-seam

@Destroy
public void destroy() throws JMSException
{
 topicSession.close();
}

代码示例来源:origin: org.jboss.seam/jboss-seam

@Destroy
public void shutdown()
{
 if (jbpmConfiguration!=null) 
 {
   jbpmConfiguration.close();
 }
}

代码示例来源:origin: org.jboss.seam/jboss-seam

@Destroy
public void shutdown()
{
 if (sessionFactory!=null)
 {
   sessionFactory.close();
 }
}

代码示例来源:origin: org.jboss.seam/jboss-seam

@Destroy 
  public void stop() {
    ReflectionUtil.shutdown();
  }
}

代码示例来源:origin: org.jboss.seam/jboss-seam

@Destroy
public void destroy()
{
 statefulSession.dispose();
}

代码示例来源:origin: org.mobicents.servlet.sip.examples/shopping-demo-business-jsr309

@Destroy
  @Remove
  public void destroy() { }
}

代码示例来源:origin: be.fedict.eid-idp/eid-idp-admin-webapp-control

@Override
@Remove
@Destroy
public void destroy() {
}

代码示例来源:origin: be.fedict.eid-dss/eid-dss-admin-portal-control

@Override
@Remove
@Destroy
public void destroy() {
}

代码示例来源:origin: org.nuxeo.ecm.platform/acaren-nuxeo-dafpic

@Destroy
@Remove
public void destroy() {
  log.debug("Removing Seam action listener...");
}

代码示例来源:origin: be.fedict.eid-dss/eid-dss-webapp-control

@Remove
@Destroy
@Override
public void destroy() {
  this.log.debug("destroy");
}

代码示例来源:origin: be.fedict.eid-idp/eid-idp-admin-webapp-control

@Remove
  @Destroy
  public void destroy() {
    this.log.debug("destroy");
  }
}

代码示例来源:origin: be.fedict.eid-dss/eid-dss-admin-portal-control

@Remove
@Destroy
@Override
public void destroy() {
  this.log.debug("destroy");
}

代码示例来源:origin: be.fedict.eid-trust-service/eid-trust-service-admin-portal-model

/**
 * {@inheritDoc}
 */
@Remove
@Destroy
public void destroyCallback() {
  this.log.debug("#destroy");
}

代码示例来源:origin: be.fedict.eid-dss/eid-dss-admin-portal-control

@Remove
@Destroy
@Override
public void destroy() {
  this.log.debug("destroy");
}

代码示例来源:origin: org.jboss.seam/jboss-seam

@Destroy
public void destroy() {
  log.debug("Stopping JBoss Cache");
  try {
    cache.stop();
    cache.destroy();
    cache = null;
  } catch (Exception e) {
    throw new IllegalStateException("Error stopping JBoss Cache", e);
  }
}

相关文章

Destroy类方法