IBM WebSphere Application ServerTM
Release 8

com.ibm.portal.propertybroker.property
Interface PropertyController

All Superinterfaces:
Property, java.io.Serializable

Deprecated.

@Deprecated
public interface PropertyController
extends Property

Encapsulates setter methods used when initializing instances of Property. This interface has no dependencies on runtime specific objects, as it is intended for reuse across general component runtime environments where brokered communication across components may be necessary. See the corresponding getter methods in Property for detailed descriptions of the attributes set by the various setters in this interface.

Currently only Name is supported, others are ignored.

PropertyBrokerService may be used to create instances of Property. After instantiation, required fields must be set using the setters provided by this interface.
Example:

 PropertyController cproperty = propertyFactoryService.createProperty(myconfig);
 cproperty.setNamespace("namespace");
 cproperty.setType("String");
 cproperty.setName("My Property");

See Also:
PropertyBrokerService, Property

Method Summary
 void setClassname(java.lang.String classname)
          Deprecated. Sets the class used to hold the Property value.
 void setName(java.lang.String name)
          Deprecated. Sets the name of the property.
 void setNamespace(java.lang.String namespace)
          Deprecated. Sets the namespace of the property.
 void setType(java.lang.String type)
          Deprecated. Sets the type of the property.
 
Methods inherited from interface com.ibm.portal.propertybroker.property.Property
getClassname, getName, getNamespace, getOwningDefinitionId, getType
 

Method Detail

setName

void setName(java.lang.String name)
Deprecated. 
Sets the name of the property.

Parameters:
name - the name
See Also:
Property.getName()

setType

void setType(java.lang.String type)
Deprecated. 
Sets the type of the property.

Parameters:
type - the type
See Also:
Property.getType()

setNamespace

void setNamespace(java.lang.String namespace)
Deprecated. 
Sets the namespace of the property.

Parameters:
namespace - the namespace
See Also:
Property.getNamespace()

setClassname

void setClassname(java.lang.String classname)
Deprecated. 
Sets the class used to hold the Property value. Optional; if not set, defaults to java.lang.String.

Parameters:
classname - the name of the class used to hold instances of the Property value
See Also:
Property.getClassname()

IBM WebSphere Application ServerTM
Release 8