|
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.Object com.beasys.commerce.foundation.BelongingHome
@Deprecated public class BelongingHome
This is a Belonging home/bean factory. This implementation caches
classes for increased performance using the
design pattern that reduces contention and synchronization overhead.
Belonging
,
BelongingImpl
Field Summary | |
---|---|
static String |
BELONGING_BEAN_CLASS_NAME
Deprecated |
static String |
CUSTOM_HOME_NAME
Deprecated |
static String |
DEFAULT_BELONGING_IMPL_SUFFIX
Deprecated |
Constructor Summary | |
---|---|
BelongingHome()
Deprecated |
Method Summary | |
---|---|
static Belonging |
create(String belongingInterfaceClassName)
Deprecated Given a bean interface, use the factory pattern to create an instance. |
static SmartHome |
getCustomHome(String belongingInterfaceClassName)
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 Belongings 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 BELONGING_BEAN_CLASS_NAME
public static final String DEFAULT_BELONGING_IMPL_SUFFIX
Constructor Detail |
---|
public BelongingHome()
Method Detail |
---|
public static void init()
public static SmartHome getCustomHome(String belongingInterfaceClassName)
com.beasys.commerce.axiom.contact.Address.CustomHomeName = com.acme.util.AddressHome com.beasys.commerce.axiom.contact.Phone.CustomHomeName = com.acme.contact.PhoneHome
belongingInterfaceClassName
- The name of the Belonging interface Class
null
if not definedpublic static Belonging create(String belongingInterfaceClassName)
com.beasys.commerce.axiom.contact.Address.BelongingBeanClassName = com.acme.util.AddressBean com.beasys.commerce.axiom.contact.Phone.BelongingBeanClassName = com.acme.contact.PhoneBean
|
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 |