|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EditableType
Tool environments should provide implementations for rich editing support of
administered objects, ConnectionSpec
s, and
InteractionSpec
s for resource adapters.
This interface provides methods which create a PropertyGroup for these objects and then synchronizes between object instances and its PropertyGroup, and vice versa. Tool environments must use this interface to enable the rich editing of the administerable objects.
Method Summary | |
---|---|
PropertyGroup |
createProperties()
Creates a new instance of the properties associated with the administered object, ConnectionSpec or InteractionSpec for which this instance of EditableType was created. |
void |
synchronizeFromBeanToPropertyGroup(Object bean,
PropertyGroup pg)
Synchronizes the associated administered object, ConnectionSpec or InteractionSpec to the PropertyGroup. |
void |
synchronizeFromPropertyGroupToBean(PropertyGroup pg,
Object bean)
Synchronizes from the PropertyGroup to the associated administered object, ConnectionSpec or InteractionSpec. |
Method Detail |
---|
PropertyGroup createProperties()
null
if no properties exist.void synchronizeFromBeanToPropertyGroup(Object bean, PropertyGroup pg) throws MetadataException
bean
- The source associated administered object, ConnectionSpec or InteractionSpec.pg
- The target PropertyGroup populated from the bean, which is used for rich editing
support of the associated object.
MetadataException
- if any error occured.PropertyGroup
void synchronizeFromPropertyGroupToBean(PropertyGroup pg, Object bean) throws MetadataException
pg
- The source PropertyGroup which has user interface updates.bean
- The target associated administered object, ConnectionSpec or InteractionSpec.
MetadataException
- if any error occured.PropertyGroup
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |