Java Reference
In-Depth Information
This element specifies a method to be called by reflection on the object. The
method has a name and a value . The value can be described by its String rep-
resentation ( value and notValue ) or as an object ( value or notValue ). The
rules of evaluation are the same as those for staticMethod .
<!ELEMENT value (method*)>
<!ATTLIST value
class CDATA #IMPLIED>
This element specifies a descriptor of an object that represents a method's
returned value. The descriptor can include an optional set of methods to call on
the value object.
class —The fully qualified name of a class/interface that is assignable from
or adaptable to the value object. The name could be followed (between paren-
theses) by the ID of a plug-in whose classloader can load that class. The final syn-
tax is className<(plugin id)>? .
<!ELEMENT notValue (method*)>
<!ATTLIST notValue
class CDATA #IMPLIED>
This element specifies a descriptor of an object that represents a method's
returned value that is not required. The descriptor can include an optional set of
methods to call on the notValue object.
class —The fully qualified name of a class/interface that is assignable from
or adaptable to the value object. The name can be followed (between paren-
theses) by the ID of a plug-in whose classloader can load that class. The final syn-
tax is className<(plugin id)>? .
10.4 Services
The GMF runtime provides a service layer and a collection of extension-points
for use in contributing service providers. The service layer is designed to handle
multiple providers, including dynamic contributions that reflect changes in run-
time state. Providers can be loaded on demand and are assigned priorities to con-
trol their contribution to the runtime environment. Figure 10-23 illustrates the
runtime services and their dependencies. Although the diagram shows all runtime
extension-points and extensions to points within the runtime, those that are pro-
vided as services have a «service» stereotype in the label. Each service is
described shortly, along with the rest of the extension-points. In the figure, empty
 
Search WWH ::




Custom Search