|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.jzeno.business.BusinessFactory
net.sf.jzeno.aop.AbstractBusinessFactory
public class AbstractBusinessFactory
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 |
---|
public AbstractBusinessFactory()
Method Detail |
---|
public static java.lang.Object getBusinessFacade(java.lang.String name)
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.
public static void releaseBusinessFacade(java.lang.Object facade)
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.
public static java.lang.Object getSafeBusinessFacade(java.lang.String name)
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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |