<!ELEMENT extension (ejbGenerator , provider)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
<!ELEMENT ejbGenerator EMPTY>
<!ATTLIST ejbGenerator
name CDATA #IMPLIED
class CDATA #REQUIRED>
Using this extension point an EJB generator can generate annotated Java from EMF models. This extension point is invoked from the EJB wizards. The provider and generator are linked by the "id". i.e. They should both have the same id (e.g. XDoclet). There can be many provider-generator sets.
org.eclipse.jst.j2ee.ejb.annotation.internal.provider.IEJBGenerator
.<!ELEMENT provider EMPTY>
<!ATTLIST provider
name CDATA #REQUIRED
class CDATA #REQUIRED>
Using this extension point clients can define an annotation generator. (i.e. appear in wizards that generate EJBs and Servlets to generate annotated Java code from a model.) The processor can be selective about the types annotation it generates (servlet/EJB/WebService), and it should be return whether is ready to generate code or not (isValid). Typically the generator may need an installation step. isValid is used to confirm whether this took place or not. The name may appear as a user selectable option in wizards.
org.eclipse.jst.j2ee.ejb.annotation.internal.provider.IAnnotationProvider
.<extension point=
"org.eclipse.jst.j2ee.ejb.annotation.model.ejbGenerator"
>
<provider name=
"XDoclet"
class=
"org.eclipse.jst.j2ee.ejb.annotations.internal.xdoclet.provider.XDocletAnnotationProvider"
/>
<ejbGenerator name=
"XDoclet"
class=
"org.eclipse.jst.j2ee.ejb.annotations.internal.xdoclet.provider.XDocletAnnotationProvider"
/>
</extension>
org.eclipse.jst.j2ee.ejb.annotation.internal.provider.IEJBGenerator
.
org.eclipse.jst.j2ee.ejb.annotations.internal.xdoclet.provider.XDocletAnnotationProvider
provides an implementation for XDoclet.
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