Tabnine Logo
ClassPathEjbJarScanner.getEjbJars
Code IndexAdd Tabnine to your IDE (free)

How to use
getEjbJars
method
in
org.jboss.ejb3.embedded.impl.base.scanner.ClassPathEjbJarScanner

Best Java code snippets using org.jboss.ejb3.embedded.impl.base.scanner.ClassPathEjbJarScanner.getEjbJars (Showing top 3 results out of 315)

origin: org.jboss.ejb3.embedded/jboss-ejb3-embedded-impl-base

protected JBossEJBContainerBase(final Map<?, ?> properties, final MCServer server)
{
 this(properties, server, ClassPathEjbJarScanner.getEjbJars());
}
origin: org.jboss.ejb3.embedded/jboss-ejb3-embedded-impl-base

/**
* Creates a new instance using the specified properties and deployment modules
* 
* @param properties Properties used in constructing the {@link EJBContainer}.  If null,
* a new, empty {@link Map} will be allocated
* @param modules Modules to deploy into the {@link EJBContainer}.  A null argument here
* signals that the ClassPath should be searched for EJB Modules as defined by {@link EJBContainer#createEJBContainer()}
* and EJB 3.1 22.2.1.
*/
public JBossEmbeddedContainerStartupParams(Map<?, ?> properties, String[] modules)
{
 // Precondition checks and adjustments
 if (properties == null)
 {
   properties = new HashMap<Object, Object>(0);
 }
 if (modules == null)
 {
   if (log.isDebugEnabled())
   {
    log.debug("No modules explicitly passed in; scanning ClassPath for EJBs");
   }
   modules = ClassPathEjbJarScanner.getEjbJars();
 }
 // Defensive copy and set
 final Map<?, ?> copy = new HashMap<Object, Object>(properties);
 this.properties = Collections.unmodifiableMap(copy);
 final String[] copyModules = copy(modules);
 this.modules = copyModules;
}
origin: org.jboss.ejb3.embedded/jboss-ejb3-embedded-sub

String candidates[] = ClassPathEjbJarScanner.getEjbJars();
deployments = new File[candidates.length];
for(int i = 0; i < candidates.length; i++)
org.jboss.ejb3.embedded.impl.base.scannerClassPathEjbJarScannergetEjbJars

Javadoc

Obtains all EJB JAR entries from the ClassPath

Popular methods of ClassPathEjbJarScanner

  • containsEjbComponentClass
    Determines if there is at least one .class in the given file with an EJB component-defining annotati
  • isEjbJar
    Determines whether this entry from the ClassPath is an EJB JAR

Popular in Java

  • Reactive rest calls using spring rest template
  • onCreateOptionsMenu (Activity)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • getResourceAsStream (ClassLoader)
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • PrintWriter (java.io)
    Wraps either an existing OutputStream or an existing Writerand provides convenience methods for prin
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • BitSet (java.util)
    The BitSet class implements abit array [http://en.wikipedia.org/wiki/Bit_array]. Each element is eit
  • Queue (java.util)
    A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
  • JPanel (javax.swing)
  • Top 17 PhpStorm Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now