|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.j2ca.extension.emd.EMDUtil
This class can be used to transform a bean like MCF, RA or Activation Spec to a property group and vice versa.
Constructor Summary | |
---|---|
EMDUtil()
|
Method Summary | |
---|---|
static WBIPropertyGroupImpl |
addBiDiActivationSpecProperties(WBIPropertyGroupImpl actspecProp,
boolean isMetadata,
java.lang.String value)
|
static WBIPropertyGroupImpl |
addBiDiManagedConnectionFactoryProperties(WBIPropertyGroupImpl mcfProp,
boolean isMetadata,
java.lang.String value)
|
static void |
addBiDiProperties(WBIOutboundConnectionTypeImpl connType,
WBIPropertyGroupImpl pg)
|
static WBIPropertyGroupImpl |
addBiDiResourceAdapterProperties(WBIPropertyGroupImpl adapterProp,
boolean isMetadata,
java.lang.String value)
|
static WBIPropertyGroupImpl |
addBiDiUserPasswordProperties(WBIPropertyGroupImpl propertyGroup,
java.lang.String value)
|
static void |
copyPropertyGroup(java.lang.Object bean,
commonj.connector.metadata.discovery.properties.PropertyGroup pg)
This method returns a property group for the given bean. |
static void |
copyValues(commonj.connector.metadata.discovery.properties.PropertyGroup fromPG,
commonj.connector.metadata.discovery.properties.PropertyGroup toPG)
Copies properties with same name and same type from obe property group to another. |
static java.lang.Object |
getBean(java.lang.Object bean,
commonj.connector.metadata.discovery.properties.PropertyGroup pg)
Fills the bean with the values from the property group. |
static java.lang.String |
getBiDiProperties(commonj.connector.metadata.discovery.properties.PropertyGroup pg)
|
static commonj.connector.metadata.discovery.properties.PropertyGroup |
getPropertyGroup(java.lang.Object bean)
This method returns a property group for the given bean. |
static commonj.connector.metadata.discovery.properties.PropertyGroup |
getPropertyGroupBiDi()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public EMDUtil()
Method Detail |
public static commonj.connector.metadata.discovery.properties.PropertyGroup getPropertyGroup(java.lang.Object bean) throws commonj.connector.metadata.MetadataException
bean
-
commonj.connector.metadata.MetadataException
public static java.lang.Object getBean(java.lang.Object bean, commonj.connector.metadata.discovery.properties.PropertyGroup pg) throws commonj.connector.metadata.MetadataException
bean
- Object representing the beanpg
- Property Group from which values have to be copied
commonj.connector.metadata.MetadataException
public static void copyValues(commonj.connector.metadata.discovery.properties.PropertyGroup fromPG, commonj.connector.metadata.discovery.properties.PropertyGroup toPG) throws commonj.connector.metadata.MetadataException
fromPG
- The property group from which values have to be copiedtoPG
- The property group to which values have to be copied
commonj.connector.metadata.MetadataException
public static void copyPropertyGroup(java.lang.Object bean, commonj.connector.metadata.discovery.properties.PropertyGroup pg) throws commonj.connector.metadata.MetadataException
bean
-
commonj.connector.metadata.MetadataException
public static WBIPropertyGroupImpl addBiDiResourceAdapterProperties(WBIPropertyGroupImpl adapterProp, boolean isMetadata, java.lang.String value)
public static WBIPropertyGroupImpl addBiDiUserPasswordProperties(WBIPropertyGroupImpl propertyGroup, java.lang.String value)
public static WBIPropertyGroupImpl addBiDiManagedConnectionFactoryProperties(WBIPropertyGroupImpl mcfProp, boolean isMetadata, java.lang.String value)
public static WBIPropertyGroupImpl addBiDiActivationSpecProperties(WBIPropertyGroupImpl actspecProp, boolean isMetadata, java.lang.String value)
public static commonj.connector.metadata.discovery.properties.PropertyGroup getPropertyGroupBiDi()
public static java.lang.String getBiDiProperties(commonj.connector.metadata.discovery.properties.PropertyGroup pg)
public static void addBiDiProperties(WBIOutboundConnectionTypeImpl connType, WBIPropertyGroupImpl pg)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |