FileDocCategorySizeDatePackage
ProducerConfig.javaAPI DocJBoss 4.2.12397Fri Jul 13 20:53:56 BST 2007org.jboss.ejb3.mdb

ProducerConfig

public class ProducerConfig extends Object
Helper class for setting all @Producer settings
author
Bill Burke
version
$Revision: 60233 $

Fields Summary
Constructors Summary
Methods Summary
public static voidclose(java.lang.Object producer)

      ProducerManager manager = ((ProducerObject) producer).getProducerManager();
      manager.close();
   
public static voidcommit(java.lang.Object producer)

      ProducerManager manager = ((ProducerObject) producer).getProducerManager();
      manager.commit();
   
public static voidconnect(java.lang.Object producer)

      ProducerManager manager = ((ProducerObject) producer).getProducerManager();
      manager.connect();
   
public static voidrollback(java.lang.Object producer)

      ProducerManager manager = ((ProducerObject) producer).getProducerManager();
      manager.rollback();
   
public static voidsetPassword(java.lang.Object producer, java.lang.String passwd)

      ProducerManager manager = ((ProducerObject) producer).getProducerManager();
      manager.setPassword(passwd);
   
public static voidsetUsername(java.lang.Object producer, java.lang.String user)

      ProducerManager manager = ((ProducerObject) producer).getProducerManager();
      manager.setUsername(user);