org.eclipse.modisco.jee.ejbjar.discoverer.actions
Class EjbJarDiscoverer

java.lang.Object
  extended by org.eclipse.modisco.jee.actions.DeploymentDescriptorDiscoverer
      extended by org.eclipse.modisco.jee.ejbjar.discoverer.actions.EjbJarDiscoverer
All Implemented Interfaces:
Discoverer

Deprecated. use EjbJarDiscoverer2 instead

@Deprecated
public class EjbJarDiscoverer
extends DeploymentDescriptorDiscoverer

Discover ejbjar.xml generic model action.


Field Summary
 
Fields inherited from class org.eclipse.modisco.jee.actions.DeploymentDescriptorDiscoverer
PARAMETER_SERIALIZE_XMI, PARAMETER_SILENT_MODE, PARAMETER_TARGET_RESOURCE
 
Constructor Summary
EjbJarDiscoverer()
          Deprecated.  
 
Method Summary
 void discoverElement(java.lang.Object source, java.util.Map<DiscoveryParameter,java.lang.Object> parameters)
          Deprecated. Discovers a generic EjbJar model.
 java.util.List<DiscoveryParameter> getDiscovererParameters()
          Deprecated. Get a complete list of all parameters available in this discoverer.
static java.lang.String getDtdUrl()
          Deprecated.  
static java.lang.String getRootName()
          Deprecated.  
 boolean isApplicableTo(java.lang.Object source)
          Deprecated. Method called when the user right click on a file to know whether or not displaying this discoverer
 
Methods inherited from class org.eclipse.modisco.jee.actions.DeploymentDescriptorDiscoverer
getDescXmlVersion, getDoctypeVersion, getResourceResult, saveResource, setResourceResult
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EjbJarDiscoverer

public EjbJarDiscoverer()
Deprecated. 
Method Detail

isApplicableTo

public boolean isApplicableTo(java.lang.Object source)
Deprecated. 
Method called when the user right click on a file to know whether or not displaying this discoverer

Parameters:
source - the selected object.
Returns:
true if the selected object is managed by this discoverer, false otherwise.

discoverElement

public void discoverElement(java.lang.Object source,
                            java.util.Map<DiscoveryParameter,java.lang.Object> parameters)
Deprecated. 
Discovers a generic EjbJar model.

Specified by:
discoverElement in interface Discoverer
Overrides:
discoverElement in class DeploymentDescriptorDiscoverer
Parameters:
source - can be a workspace IFile or a java.io.File instance pointing to EjbJar contents
parameters -
  • PARAMETER_SILENT_MODE : IN parameter; if is not set or set to false, the discovered model will be opened in an editor.
  • PARAMETER_SERIALIZE_XMI :see XMLModelDiscoverer#PARAMETER_SERIALIZE_XMI
  • PARAMETER_TARGET_RESOURCE : OUT parameter; the discovered model is stored with this key.

getDiscovererParameters

public java.util.List<DiscoveryParameter> getDiscovererParameters()
Deprecated. 
Description copied from interface: Discoverer
Get a complete list of all parameters available in this discoverer. Further information should be provided to indicate features of each parameter; for example, direction kind (in, out, in-out), whether the parameter is optional or not ...

Returns:
the set of parameter names provided by this discoverer.

getRootName

public static java.lang.String getRootName()
Deprecated. 
Returns:
the rootName

getDtdUrl

public static java.lang.String getDtdUrl()
Deprecated. 
Returns:
the dtdUrl