Tabnine Logo
org.jboss.ejb3.annotation
Code IndexAdd Tabnine to your IDE (free)

How to use org.jboss.ejb3.annotation

Best Java code snippets using org.jboss.ejb3.annotation (Showing top 20 results out of 315)

origin: org.jboss.ejb3/jboss-ejb3-core

protected boolean hasJNDIBinding(String jndiName)
{
 assert jndiName != null : "jndiName is null";
 
 if(localBinding != null)
 {
   if(localBinding.jndiBinding().equals(jndiName))
    return true;
 }
 
 if(remoteBindings != null)
 {
   for(RemoteBinding binding : remoteBindings.value())
   {
    if(binding.jndiBinding().equals(jndiName))
      return true;
   }
 }
 
 return false;
}
origin: glon/sandra-service

/**
 *
 * @author sletellier
 */
@Local
@LocalBinding(jndiBinding="ServiceSuiviImpl/local")
public interface ServiceSuiviLocal extends ServiceSuivi {
}

origin: org.jboss.ejb3/jboss-ejb3-core

public String getResourceAdaptorName()
{
 ResourceAdapter annotation = (ResourceAdapter) resolveAnnotation(ResourceAdapter.class);
 if (annotation == null)
   return JMS_ADAPTOR;
 
 return annotation.value();
}
origin: org.jboss.ejb3/jboss-ejb3-core

protected static int getTransactionTimeout(Advisor advisor, Method method)
{
 TransactionTimeout annotation = (TransactionTimeout)advisor.resolveAnnotation(method, TransactionTimeout.class);
 if (annotation == null)
   annotation = (TransactionTimeout)advisor.resolveAnnotation(TransactionTimeout.class);
 if (annotation != null)
 {
   return annotation.value();
 }
 return -1;
}
origin: org.jboss.ejb3/jboss-ejb3-core

protected void populateActivationSpec()
{
 DefaultActivationSpecs defaultSpecs = (DefaultActivationSpecs) resolveAnnotation(DefaultActivationSpecs.class);
 if (defaultSpecs != null)
 {
   activationSpec.merge(defaultSpecs.value());
 }
 Consumer md = (Consumer) resolveAnnotation(Consumer.class);
 activationSpec.merge(md.activationConfig());
}
origin: hibernate/hibernate-search

@TransactionTimeout(value = 5, unit = TimeUnit.MINUTES)
public void saveConcerts(Iterable<Concert> concerts) {
  int i = 0;
  for ( Concert concert : concerts ) {
    entityManager.persist( concert );
    if ( i % 50 == 0 ) {
      entityManager.flush();
      entityManager.clear();
    }
    i++;
  }
}
origin: com.glon/sandra-service

/**
 * @author sletellier
 */
@Remote
@RemoteBinding(jndiBinding="ServiceSynchNumberImpl/remote")
public interface ServiceSynchNumber {

  public Long getNextSynchroNumber() throws TopiaException;

  Long getCurrentSynchroNumber() throws TopiaException;
}

origin: org.jboss.as/jboss-as-demos-legacy

/**
 * @author <a href="mailto:cdewolf@redhat.com">Carlo de Wolf</a>
 */
@MessageDriven(messageListenerInterface = PostmanPat.class)
@ResourceAdapter("ejb3-rar.rar")
public class PostmanPatMDB implements PostmanPat {
  @Override
  public void deliver(String message) {
    System.out.println("Got message " + message);
  }
}

origin: glon/sandra-service

/**
 * @author sletellier
 */
@Local
@LocalBinding(jndiBinding="ServiceSynchNumberImpl/local")
public interface ServiceSynchNumberLocal extends ServiceSynchNumber {
}

origin: org.jboss.ejb3/jboss-ejb3-transactions

protected int resolveTransactionTimeout(Advisor advisor, Method method)
{
 TransactionTimeout annotation = (TransactionTimeout)advisor.resolveAnnotation(method, TransactionTimeout.class);
 
 if (annotation == null)
   annotation = (TransactionTimeout)advisor.resolveAnnotation(TransactionTimeout.class);
 
 if (annotation != null)
 {
   return annotation.value();
 }
 return -1;
}
origin: hibernate/hibernate-search

@TransactionTimeout(value = 5, unit = TimeUnit.MINUTES)
public void persist(Iterable<Message> messages) {
  int i = 0;
  for ( Message m : messages ) {
    em.persist( m );
    if ( i % 50 == 0 ) {
      em.flush();
      em.clear();
    }
    i++;
  }
}
origin: glon/sandra-service

/**
 * @author sletellier
 */
@Remote
@RemoteBinding(jndiBinding="ServiceSynchNumberImpl/remote")
public interface ServiceSynchNumber {

  public Long getNextSynchroNumber() throws TopiaException;

  Long getCurrentSynchroNumber() throws TopiaException;
}

origin: com.glon/sandra-service

/**
 * @author sletellier
 */
@Local
@LocalBinding(jndiBinding="ServiceSynchNumberImpl/local")
public interface ServiceSynchNumberLocal extends ServiceSynchNumber {
}

origin: com.glon/sandra-service

/**
 *
 * @author sletellier
 */
@Local
@LocalBinding(jndiBinding="ServiceScheduleImpl/local")
public interface ServiceScheduleLocal extends ServiceSchedule {
}

origin: com.glon/sandra-service

/**
 *
 * @author sletellier
 */
@Local
@LocalBinding(jndiBinding="ServiceSuiviImpl/local")
public interface ServiceSuiviLocal extends ServiceSuivi {
}

origin: glon/sandra-service

/**
 *
 * @author sletellier
 */
@Local
@LocalBinding(jndiBinding="ServiceScheduleImpl/local")
public interface ServiceScheduleLocal extends ServiceSchedule {
}

origin: glon/sandra-service

@Local
@LocalBinding(jndiBinding="ServiceNotifierImpl/local")
public interface ServiceNotifierLocal extends ServiceNotifier {
}

origin: com.glon/sandra-service

@Local
@LocalBinding(jndiBinding="ServiceNotifierImpl/local")
public interface ServiceNotifierLocal extends ServiceNotifier {
}

origin: glon/sandra-service

@Local
@LocalBinding(jndiBinding="ServiceTourImpl/local")
public interface ServiceTourLocal extends ServiceTour {
}

origin: glon/sandra-service

@Local
@LocalBinding(jndiBinding="ServiceWebImpl/local")
public interface ServiceWebLocal extends ServiceWeb {
}

org.jboss.ejb3.annotation

Most used classes

  • LocalBinding
  • SecurityDomain
  • Service
  • TransactionTimeout
  • RemoteBinding
  • Depends,
  • Management,
  • ResourceAdapter,
  • RunAsPrincipal,
  • CacheConfig,
  • Consumer,
  • LocalHomeBinding,
  • Pool,
  • Producer,
  • Producers,
  • RemoteBindings,
  • RemoteHomeBinding,
  • ApplicationExceptionImpl,
  • RemoteImpl
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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