ObserverMethodImpl.preNotify
Code IndexAdd Codota to your IDE (free)

Best code snippets using org.jboss.weld.event.ObserverMethodImpl.preNotify(Showing top 15 results out of 315)

  • Common ways to obtain ObserverMethodImpl
private void myMethod () {
ObserverMethodImpl o =
  • EnhancedAnnotatedMethod observer;new ObserverMethodImpl<T, X>(observer, declaringBean, manager)
  • EnhancedAnnotatedMethod observer;new ExtensionObserverMethodImpl<T, X>(observer, declaringBean, manager, isAsync)
  • EnhancedAnnotatedMethod observer;new ObserverMethodImpl<T, X>(observer, declaringBean, manager, isAsync)
  • AI code suggestions by Codota
}
origin: org.jboss.weld/weld-core

/**
 * Note that {@link CreationalContext#release()} is not invoked within this method.
 *
 * @param event
 * @param receiver
 * @param creationalContext
 */
protected void sendEvent(T event, Object receiver, CreationalContext<?> creationalContext) {
  try {
    preNotify(event, receiver);
    // As we are working with the contextual instance, we may not have the
    // actual object, but a container proxy (e.g. EJB)
    notificationStrategy.invoke(receiver, observerMethod, event, beanManager, creationalContext);
  } finally {
    postNotify(event, receiver);
  }
}
origin: org.jboss.weld/weld-core

/**
 * Note that {@link CreationalContext#release()} is not invoked within this method.
 *
 * @param event
 * @param receiver
 * @param creationalContext
 */
protected void sendEvent(T event, Object receiver, CreationalContext<?> creationalContext) {
  try {
    preNotify(event, receiver);
    // As we are working with the contextual instance, we may not have the
    // actual object, but a container proxy (e.g. EJB)
    notificationStrategy.invoke(receiver, observerMethod, event, beanManager, creationalContext);
  } finally {
    postNotify(event, receiver);
  }
}
origin: org.jboss.weld/weld-core-impl

/**
 * Note that {@link CreationalContext#release()} is not invoked within this method.
 *
 * @param event
 * @param receiver
 * @param creationalContext
 */
protected void sendEvent(T event, Object receiver, CreationalContext<?> creationalContext) {
  try {
    preNotify(event, receiver);
    // As we are working with the contextual instance, we may not have the
    // actual object, but a container proxy (e.g. EJB)
    notificationStrategy.invoke(receiver, observerMethod, event, beanManager, creationalContext);
  } finally {
    postNotify(event, receiver);
  }
}
origin: org.jboss.weld.se/weld-se

/**
 * Note that {@link CreationalContext#release()} is not invoked within this method.
 *
 * @param event
 * @param receiver
 * @param creationalContext
 */
protected void sendEvent(T event, Object receiver, CreationalContext<?> creationalContext) {
  try {
    preNotify(event, receiver);
    // As we are working with the contextual instance, we may not have the
    // actual object, but a container proxy (e.g. EJB)
    notificationStrategy.invoke(receiver, observerMethod, event, beanManager, creationalContext);
  } finally {
    postNotify(event, receiver);
  }
}
origin: org.jboss.weld.servlet/weld-servlet

/**
 * Note that {@link CreationalContext#release()} is not invoked within this method.
 *
 * @param event
 * @param receiver
 * @param creationalContext
 */
protected void sendEvent(T event, Object receiver, CreationalContext<?> creationalContext) {
  try {
    preNotify(event, receiver);
    // As we are working with the contextual instance, we may not have the
    // actual object, but a container proxy (e.g. EJB)
    notificationStrategy.invoke(receiver, observerMethod, event, beanManager, creationalContext);
  } finally {
    postNotify(event, receiver);
  }
}
origin: weld/core

/**
 * Note that {@link CreationalContext#release()} is not invoked within this method.
 *
 * @param event
 * @param receiver
 * @param creationalContext
 */
protected void sendEvent(T event, Object receiver, CreationalContext<?> creationalContext) {
  try {
    preNotify(event, receiver);
    // As we are working with the contextual instance, we may not have the
    // actual object, but a container proxy (e.g. EJB)
    notificationStrategy.invoke(receiver, observerMethod, event, beanManager, creationalContext);
  } finally {
    postNotify(event, receiver);
  }
}
origin: org.jboss.weld/weld-osgi-bundle

/**
 * Note that {@link CreationalContext#release()} is not invoked within this method.
 *
 * @param event
 * @param receiver
 * @param creationalContext
 */
protected void sendEvent(T event, Object receiver, CreationalContext<?> creationalContext) {
  try {
    preNotify(event, receiver);
    // As we are working with the contextual instance, we may not have the
    // actual object, but a container proxy (e.g. EJB)
    notificationStrategy.invoke(receiver, observerMethod, event, beanManager, creationalContext);
  } finally {
    postNotify(event, receiver);
  }
}
origin: org.jboss.weld.se/weld-se

/**
 * Note that {@link CreationalContext#release()} is not invoked within this method.
 *
 * @param event
 * @param receiver
 * @param creationalContext
 */
protected void sendEvent(T event, Object receiver, CreationalContext<?> creationalContext) {
  try {
    preNotify(event, receiver);
    // As we are working with the contextual instance, we may not have the
    // actual object, but a container proxy (e.g. EJB)
    notificationStrategy.invoke(receiver, observerMethod, event, beanManager, creationalContext);
  } finally {
    postNotify(event, receiver);
  }
}
origin: org.jboss.weld.servlet/weld-servlet

/**
 * Note that {@link CreationalContext#release()} is not invoked within this method.
 *
 * @param event
 * @param receiver
 * @param creationalContext
 */
protected void sendEvent(T event, Object receiver, CreationalContext<?> creationalContext) {
  try {
    preNotify(event, receiver);
    // As we are working with the contextual instance, we may not have the
    // actual object, but a container proxy (e.g. EJB)
    notificationStrategy.invoke(receiver, observerMethod, event, beanManager, creationalContext);
  } finally {
    postNotify(event, receiver);
  }
}
origin: org.jboss.weld.se/weld-se-shaded

/**
 * Note that {@link CreationalContext#release()} is not invoked within this method.
 *
 * @param event
 * @param receiver
 * @param creationalContext
 */
protected void sendEvent(T event, Object receiver, CreationalContext<?> creationalContext) {
  try {
    preNotify(event, receiver);
    // As we are working with the contextual instance, we may not have the
    // actual object, but a container proxy (e.g. EJB)
    notificationStrategy.invoke(receiver, observerMethod, event, beanManager, creationalContext);
  } finally {
    postNotify(event, receiver);
  }
}
origin: org.jboss.weld.se/weld-se

/**
 * Note that {@link CreationalContext#release()} is not invoked within this method.
 *
 * @param event
 * @param receiver
 * @param creationalContext
 */
protected void sendEvent(T event, Object receiver, CreationalContext<?> creationalContext) {
  try {
    preNotify(event, receiver);
    // As we are working with the contextual instance, we may not have the
    // actual object, but a container proxy (e.g. EJB)
    notificationStrategy.invoke(receiver, observerMethod, event, beanManager, creationalContext);
  } finally {
    postNotify(event, receiver);
  }
}
origin: org.jboss.weld/weld-core-impl

/**
 * Note that {@link CreationalContext#release()} is not invoked within this method.
 *
 * @param event
 * @param receiver
 * @param creationalContext
 */
protected void sendEvent(T event, Object receiver, CreationalContext<?> creationalContext) {
  try {
    preNotify(event, receiver);
    // As we are working with the contextual instance, we may not have the
    // actual object, but a container proxy (e.g. EJB)
    notificationStrategy.invoke(receiver, observerMethod, event, beanManager, creationalContext);
  } finally {
    postNotify(event, receiver);
  }
}
origin: org.jboss.weld/weld-core

/**
 * Note that {@link CreationalContext#release()} is not invoked within this method.
 *
 * @param event
 * @param receiver
 * @param creationalContext
 */
protected void sendEvent(T event, Object receiver, CreationalContext<?> creationalContext) {
  try {
    preNotify(event, receiver);
    // As we are working with the contextual instance, we may not have the
    // actual object, but a container proxy (e.g. EJB)
    notificationStrategy.invoke(receiver, observerMethod, event, beanManager, creationalContext);
  } finally {
    postNotify(event, receiver);
  }
}
origin: weld/core

/**
 * Note that {@link CreationalContext#release()} is not invoked within this method.
 *
 * @param event
 * @param receiver
 * @param creationalContext
 */
protected void sendEvent(T event, Object receiver, CreationalContext<?> creationalContext) {
  try {
    preNotify(event, receiver);
    // As we are working with the contextual instance, we may not have the
    // actual object, but a container proxy (e.g. EJB)
    notificationStrategy.invoke(receiver, observerMethod, event, beanManager, creationalContext);
  } finally {
    postNotify(event, receiver);
  }
}
origin: org.jboss.weld/weld-osgi-bundle

/**
 * Note that {@link CreationalContext#release()} is not invoked within this method.
 *
 * @param event
 * @param receiver
 * @param creationalContext
 */
protected void sendEvent(T event, Object receiver, CreationalContext<?> creationalContext) {
  try {
    preNotify(event, receiver);
    // As we are working with the contextual instance, we may not have the
    // actual object, but a container proxy (e.g. EJB)
    notificationStrategy.invoke(receiver, observerMethod, event, beanManager, creationalContext);
  } finally {
    postNotify(event, receiver);
  }
}
org.jboss.weld.eventObserverMethodImplpreNotify

Javadoc

Hooks allowing subclasses to perform additional logic just before and just after an event is delivered to an observer method.

Popular methods of ObserverMethodImpl

  • getDeclaringBean
  • getId
  • getInjectionPoints
  • getMethod
  • checkObserverMethod
    Performs validation of the observer method for compliance with the specifications.
  • checkRequiredTypeAnnotations
  • createId
  • createTypeId
  • getObservedType
  • getReceiver
  • getReceiverIfExists
  • initMetadataRequired
  • getReceiverIfExists,
  • initMetadataRequired,
  • initMethodInjectionPoint,
  • initialize,
  • postNotify,
  • sendEvent,
  • getBeanClass,
  • getReception,
  • getTransactionPhase

Popular classes and methods

  • getExternalFilesDir (Context)
  • addToBackStack (FragmentTransaction)
  • runOnUiThread (Activity)
  • Iterator (java.util)
    An iterator over a collection. Iterator takes the place of Enumeration in the Java Collections Frame
  • StringTokenizer (java.util)
    Breaks a string into tokens; new code should probably use String#split.> // Legacy code: StringTo
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
  • Reference (javax.naming)
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
  • Logger (org.slf4j)
    The org.slf4j.Logger interface is the main user entry point of SLF4J API. It is expected that loggin
  • Option (scala)

For IntelliJ IDEA and
Android Studio

  • Codota IntelliJ IDEA pluginCodota Android Studio pluginCode IndexSign in
  • EnterpriseFAQAboutContact Us
  • Terms of usePrivacy policyCodeboxFind Usages
Add Codota to your IDE (free)