|
Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.beasys.commerce.foundation.BusinessPolicyHome
@Deprecated public class BusinessPolicyHome
This is a BusinessPolicy home/bean factory. This implementation caches
classes for increased performance using the
design pattern that reduces contention and synchronization overhead.
CommercePropertiesHelper
| Field Summary | |
|---|---|
static String |
CUSTOM_HOME_NAME
Deprecated |
static String |
DEFAULT_BUSINESS_POLICY_IMPL_SUFFIX
Deprecated |
static String |
DEFAULT_POLICY_BEAN_CLASS_NAME
Deprecated |
| Constructor Summary | |
|---|---|
BusinessPolicyHome()
Deprecated |
|
| Method Summary | |
|---|---|
static BusinessPolicy |
create(String businessPolicyInterfaceClassName)
Deprecated Given a bean interface, use the factory pattern to create an instance. |
static SmartHome |
getCustomHome(String businessPolicyInterfaceClassName)
Deprecated Given a bean interface, use the factory pattern to get its custom home. |
static void |
init()
Deprecated The init method must be called before any BusinessPolicies are created. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String CUSTOM_HOME_NAME
public static final String DEFAULT_POLICY_BEAN_CLASS_NAME
public static final String DEFAULT_BUSINESS_POLICY_IMPL_SUFFIX
| Constructor Detail |
|---|
public BusinessPolicyHome()
| Method Detail |
|---|
public static void init()
public static SmartHome getCustomHome(String businessPolicyInterfaceClassName)
com.beasys.commerce.ebusiness.item.ItemPriceCalculationPolicy.CustomHomeName = com.acme.util.ExpertPricerHome com.beasys.commerce.ebusiness.item.ItemPriceCalculationPolicy.DefaultPolicyClassName = com.acme.util.ExpertPricer
public static BusinessPolicy create(String businessPolicyInterfaceClassName)
com.beasys.commerce.ebusiness.item.ItemPriceCalculationPolicy.CustomHomeName = com.acme.util.ExpertPricerHome com.beasys.commerce.ebusiness.item.ItemPriceCalculationPolicy.DefaultPolicyClassName = com.acme.util.ExpertPricer
|
Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||