|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.zphinx.spine.start.SpineConfiguration
public class SpineConfiguration
SpineConfiguration maintains the properties available to configure ViewProcessors,BusinessDelegates and their associated DataAccessObjects.
These properties are defined in the spine.xml file used to configure this application and they provide inversion of control(IOC) capabilites to the spine application framework by allowing the user change, delegates,processors,proxies and dao's associated with a process call.
Copyright ©Zphinx Software Solutions
| Field Summary | |
|---|---|
static int |
CONFIG_PACKAGE_NAME
An int used to represent a packageName |
static int |
CONFIG_SUB_CLASS
An int used to represent a subClass |
| Method Summary | |
|---|---|
DelegateConfiguration |
get(String key)
Gets the DelegateConfiguration object identified by this key |
String |
getBuilder(String key,
String delegateName)
Gets the builder instance in use by this configuration |
String |
getDAOClass(String key,
String delegateName)
Gets the DAO class of the key associated the delegateName |
int |
getDAOType(String key,
String delegateName)
Gets the type of the LabelIntBean associated the delegateName |
String[] |
getDelegateString(String s,
int j)
Gets the string array which denotes the full name of the sub class of the delegates used by this configuration. |
static SpineConfiguration |
getInstance(int i)
Gets the only instance of this object |
ManagedDaoBean[] |
getManagedBean(String key,
String delegateName)
Gets the ManagedDaoBean[] associated with the delegateName |
ProxyConfig |
getProxyConfiguration()
Gets the ProxyConfig Object |
void |
put(String key,
DelegateConfiguration delegateConfig)
Add a DelegateConfiguration object to this collection |
void |
putAll(Map m)
Copies the contents of map m to this object |
void |
setProxyConfiguration(ProxyConfig pConfig)
Sets the ProxyConfig Object |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int CONFIG_PACKAGE_NAME
public static final int CONFIG_SUB_CLASS
| Method Detail |
|---|
public void putAll(Map m)
m - The map to copy into this map
public String[] getDelegateString(String s,
int j)
s - The identifier for the DelegateConfigurationj - An int representing the kind of strings to get from the DelegateBean
public String getDAOClass(String key,
String delegateName)
key - The identifier for the DelegateConfigurationdelegateName - The name identifier of the Delegate sub class
public ManagedDaoBean[] getManagedBean(String key,
String delegateName)
key - The identifier for the DelegateConfigurationdelegateName - The name identifier of the Delegate sub class
public int getDAOType(String key,
String delegateName)
key - The identifier for the DelegateConfigurationdelegateName - The name identifier of the Delegate sub class
public DelegateConfiguration get(String key)
key - The key which identifies the DelegateConfiguration
public void put(String key,
DelegateConfiguration delegateConfig)
key - The key which identifies this objectdelegateConfig - DelegateConfiguration object to register with this Systempublic static SpineConfiguration getInstance(int i)
i - An int representing the size of the Map contained in this object, set to zero to create a non specified size.
public String getBuilder(String key,
String delegateName)
key - The key to the processor class that owns this configurationdelegateName - The name of the delegate containing the builder instance.
public ProxyConfig getProxyConfiguration()
public void setProxyConfiguration(ProxyConfig pConfig)
pConfig - the ProxyConfig Object to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||