net.sf.jzeno.aop
Class AbstractBusinessFactory

java.lang.Object
  extended by net.sf.jzeno.business.BusinessFactory
      extended by net.sf.jzeno.aop.AbstractBusinessFactory

public class AbstractBusinessFactory
extends BusinessFactory

Class provided for backward-compatability. In order to clean up the external interface and user perspective of jzeno, we now advise users to use net.sf.jzeno.business.BusinessFactory.getFacade() for creation of business facades. This methis is equivalent to the original getSageBusinessFacade() method.


Constructor Summary
AbstractBusinessFactory()
           
 
Method Summary
static java.lang.Object getBusinessFacade(java.lang.String name)
          Deprecated.  
static java.lang.Object getSafeBusinessFacade(java.lang.String name)
          Deprecated.  
static void releaseBusinessFacade(java.lang.Object facade)
          Deprecated.  
 
Methods inherited from class net.sf.jzeno.business.BusinessFactory
clearCache, getFacade
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractBusinessFactory

public AbstractBusinessFactory()
Method Detail

getBusinessFacade

public static java.lang.Object getBusinessFacade(java.lang.String name)
Deprecated. 

Creates a business facade of the specified type. The type you supply should be the name of the interface of the business facade, without the package name.


releaseBusinessFacade

public static void releaseBusinessFacade(java.lang.Object facade)
Deprecated. 

When a business facade is no longer required, the client should release that facade, back to this factory. That allows us to do pooling on facades. If the business facade was retrieved through the getSafeBusinessFacade(String), you should not return it.


getSafeBusinessFacade

public static java.lang.Object getSafeBusinessFacade(java.lang.String name)
Deprecated. 

This operation is used to retrieve a business facade that will automatically be released when the current request thread finishes. Auto-releasing is currently not implemented because not necessary.