Provider
Identifier:
org.eclipse.jst.j2ee.ejb.annotations.emitter.provider
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 allows clients to provide their own templates for annotation based code generation using the EJB code generation framework. This extension point provides a framework to define "Provider-Generator" sets that use EMF JET (Java Emitter Templates) to annotate Java code.
Configuration Markup:
<!ELEMENT extension (emitter)>
<!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 emitter EMPTY>
<!ATTLIST emitter
name CDATA #REQUIRED
classpathProvider CDATA #REQUIRED
builderId CDATA #REQUIRED
ejbIntrospector CDATA #REQUIRED
mergeController CDATA #REQUIRED
sessionTemplates CDATA #REQUIRED
entityTemplates CDATA #REQUIRED
messageTemplates CDATA #REQUIRED>
- name -
- classpathProvider -
- builderId -
- ejbIntrospector -
- mergeController -
- sessionTemplates -
- entityTemplates -
- messageTemplates -
Examples:
<extension
point=
"org.eclipse.jst.j2ee.ejb.annotations.emitter.provider"
>
<emitter
name=
"xdoclet"
classpathProvider=
"org.emitter.path.MyEmitterClasspathPorvider"
builderId=
"org.emitter.path.MyEmitterBuilder"
sessionTemplates=
"templates/ejb/session"
entityTemplates=
"templates/ejb/entity"
messageTemplates=
"templates/ejb/message"
/>
</extension>
Supplied Implementation:
WTP org.eclipse.jst.j2ee.ejb.annotations.xdoclet plugin uses this extension point to provide XDoclet templates.
Copyright (c) 2005 Eteration A.S. 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