is the name of the bean interface.
This is an example of specifying a different Impl class in the properties file.
com.beasys.commerce.axiom.contact.Address.BelongingBeanClassName = com.acme.util.AddressBean
com.beasys.commerce.axiom.contact.Phone.BelongingBeanClassName = com.acme.contact.PhoneBean
getCustomHome(String) Method
public static SmartHome
getCustomHome(String
belongingInterfaceClassName)
Given a bean interface, use the factory pattern to get its custom home.
If a bean's custom home is not defined in the weblogiccommerce.properties file,
then this method returns null.
This is an example of specifying a custom home name in the properties file.
com.beasys.commerce.axiom.contact.Address.CustomHomeName = com.acme.util.AddressHome
com.beasys.commerce.axiom.contact.Phone.CustomHomeName = com.acme.contact.PhoneHome
Parameters
-
belongingInterfaceClassName
- The name of the Belonging interface Class
Returns
- The custom factory Class, or
null
if not defined
init() Method
public static void init()
The init method must be called before any Belongings are created.