Resource Environment Reference Type
Identifier:
org.eclipse.jst.j2ee.resourceEnvRefType
Since:
This extension point is part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.
Description:
This extension point is used to add types to the drop down options available when creating or modifying Resource Environment References for a Application Client or EJB Project.
Configuration Markup:
<!ELEMENT extension (reference)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
- point - a fully qualified identifier of the target extension point
- id - an optional identifier of the extension instance
- name - an optional name of the extension instance
<!ELEMENT reference EMPTY>
<!ATTLIST reference
type CDATA #REQUIRED
usage (Application Client|EJB Jar|Common)
target-server-ids CDATA #IMPLIED>
- type - Valid resource environment reference types. Example: javax.jms.Topic
- usage - The usage field is required. Valid types are Common, EJB Jar.
A usage tag with the value Common indicates that the corresponding value will be avilable for all J2EE projects.
A usage tag with the value EJB Jar indicates that the value is only applicable to EJB projects.
- target-server-ids - list of target server id for this type
Examples:
The following is an example of the extension:
<extension
point=
"org.eclipse.jst.j2ee.ui.resourceEnvRefType"
>
<reference usage=
"Common"
type=
"javax.sql.DataSource"
/>
<reference usage=
"EJB Jar"
type=
"javax.jms.Topic"
/>
</extension>
API Information:
This extension point requires that the extension be defined in the plugin file of the extending plugin.
Copyright (c) 2003, 2005 IBM Corporation and others.
All rights reserved. This program and the accompanying materials are made
available under the terms of the Eclipse Public License v1.0 which accompanies
this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html