Codota Logo
RemoteViewInjectionSource.<init>
Code IndexAdd Codota to your IDE (free)

How to use
org.jboss.as.ejb3.remote.RemoteViewInjectionSource
constructor

Best Java code snippets using org.jboss.as.ejb3.remote.RemoteViewInjectionSource.<init> (Showing top 5 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
DateTime d =
  • Codota Iconnew DateTime()
  • Codota IconDateTimeFormatter formatter;String text;formatter.parseDateTime(text)
  • Codota IconObject instant;new DateTime(instant)
  • Smart code suggestions by Codota
}
origin: wildfly/wildfly

private void registerRemoteBinding(final EJBComponentDescription componentDescription, final ViewDescription viewDescription, final String jndiName) {
  final EEModuleDescription moduleDescription = componentDescription.getModuleDescription();
  final InjectedValue<ClassLoader> viewClassLoader = new InjectedValue<ClassLoader>();
  moduleDescription.getBindingConfigurations().add(new BindingConfiguration(jndiName, new RemoteViewInjectionSource(null, moduleDescription.getEarApplicationName(), moduleDescription.getModuleName(), moduleDescription.getDistinctName(), componentDescription.getComponentName(), viewDescription.getViewClassName(), componentDescription.isStateful(), viewClassLoader, appclient)));
  componentDescription.getConfigurators().add(new ComponentConfigurator() {
    public void configure(DeploymentPhaseContext context, ComponentDescription description, ComponentConfiguration configuration) throws DeploymentUnitProcessingException {
      viewClassLoader.setValue(Values.immediateValue(configuration.getModuleClassLoader()));
    }
  });
}
private void registerControlPointBinding(final EJBComponentDescription componentDescription, final ViewDescription viewDescription, final String jndiName, final DeploymentUnit deploymentUnit) {
origin: wildfly/wildfly

@Override
protected InjectionSource createInjectionSource(final ServiceName serviceName, Value<ClassLoader> viewClassLoader, boolean appclient) {
  if(methodIntf != MethodIntf.REMOTE && methodIntf != MethodIntf.HOME) {
    return super.createInjectionSource(serviceName, viewClassLoader, appclient);
  } else {
    final EJBComponentDescription componentDescription = getComponentDescription();
    final EEModuleDescription desc = componentDescription.getModuleDescription();
    final String earApplicationName = desc.getEarApplicationName();
    return new RemoteViewInjectionSource(serviceName, earApplicationName, desc.getModuleName(), desc.getDistinctName(), componentDescription.getComponentName(), getViewClassName() , componentDescription.isStateful(),viewClassLoader, appclient);
  }
}
origin: wildfly/wildfly

final InjectedValue<ClassLoader> viewClassLoader = new InjectedValue<ClassLoader>();
final InjectedValue<ControlPoint> controlPointInjectedValue = new InjectedValue<>();
final RemoteViewInjectionSource delegate = new RemoteViewInjectionSource(null, moduleDescription.getEarApplicationName(), moduleDescription.getModuleName(), moduleDescription.getDistinctName(), componentDescription.getComponentName(), viewDescription.getViewClassName(), componentDescription.isStateful(), viewClassLoader, appclient);
final ServiceName depName = ControlPointService.serviceName(deploymentUnit.getParent() == null ? deploymentUnit.getName() : deploymentUnit.getParent().getName(), EJBComponentSuspendDeploymentUnitProcessor.ENTRY_POINT_NAME + deploymentUnit.getName() + "." + componentDescription.getComponentName());
componentDescription.getConfigurators().add((context, description, configuration) -> {
origin: org.jboss.as/jboss-as-ejb3

private void registerRemoteBinding(final EJBComponentDescription componentDescription, final ViewDescription viewDescription, final String jndiName) {
  final EEModuleDescription moduleDescription = componentDescription.getModuleDescription();
  final InjectedValue<ClassLoader> viewClassLoader = new InjectedValue<ClassLoader>();
  moduleDescription.getBindingConfigurations().add(new BindingConfiguration(jndiName, new RemoteViewInjectionSource(null, moduleDescription.getEarApplicationName(), moduleDescription.getModuleName(), moduleDescription.getDistinctName(), componentDescription.getComponentName(), viewDescription.getViewClassName(), componentDescription.isStateful(), viewClassLoader)));
  componentDescription.getConfigurators().add(new ComponentConfigurator() {
    public void configure(DeploymentPhaseContext context, ComponentDescription description, ComponentConfiguration configuration) throws DeploymentUnitProcessingException {
      viewClassLoader.setValue(Values.immediateValue(configuration.getModuleClassLoader()));
    }
  });
}
origin: org.jboss.as/jboss-as-ejb3

@Override
protected InjectionSource createInjectionSource(final ServiceName serviceName, Value<ClassLoader> viewClassLoader) {
  if(methodIntf != MethodIntf.REMOTE && methodIntf != MethodIntf.HOME) {
    return super.createInjectionSource(serviceName, viewClassLoader);
  } else {
    final EJBComponentDescription componentDescription = getComponentDescription();
    final EEModuleDescription desc = componentDescription.getModuleDescription();
    final String earApplicationName = desc.getEarApplicationName();
    return new RemoteViewInjectionSource(serviceName, earApplicationName, desc.getModuleName(), desc.getDistinctName(), componentDescription.getComponentName(), getViewClassName() , componentDescription.isStateful(),viewClassLoader);
  }
}
org.jboss.as.ejb3.remoteRemoteViewInjectionSource<init>

Popular methods of RemoteViewInjectionSource

  • getResourceValue

Popular in Java

  • Running tasks concurrently on multiple threads
  • onRequestPermissionsResult (Fragment)
  • runOnUiThread (Activity)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • Table (com.google.common.collect)
    A collection that associates an ordered pair of keys, called a row key and a column key, with a sing
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • Dictionary (java.util)
    The Dictionary class is the abstract parent of any class, such as Hashtable, which maps keys to valu
  • JTextField (javax.swing)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now