TorqueBox 3.1.2

org.torquebox.core.injection
Class RuntimeInjectionAnalyzerInjectable

java.lang.Object
  extended by org.torquebox.core.injection.SimpleNamedInjectable
      extended by org.torquebox.core.injection.RuntimeInjectionAnalyzerInjectable
All Implemented Interfaces:
Injectable

public class RuntimeInjectionAnalyzerInjectable
extends SimpleNamedInjectable

Predetermined injectable which provides a runtime-capable injection analyzer.

This injectable provides runtime-injection-analyzer injectable for each deployment. It may be used to add injectables at runtime based on analyzing ruby blocks.

Author:
Bob McWhirter
See Also:
Service

Field Summary
static RuntimeInjectionAnalyzerInjectable INSTANCE
           
 
Constructor Summary
RuntimeInjectionAnalyzerInjectable()
           
 
Method Summary
 org.jboss.msc.service.ServiceName getServiceName(org.jboss.msc.service.ServiceTarget serviceTarget, org.jboss.as.server.deployment.DeploymentUnit unit)
          Retrieve the MSC ServiceName of the actual underlying injectable asset.
 
Methods inherited from class org.torquebox.core.injection.SimpleNamedInjectable
getKey, getName, getType, isGeneric, isOptional, toString, wrapWithConverter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

INSTANCE

public static final RuntimeInjectionAnalyzerInjectable INSTANCE
Constructor Detail

RuntimeInjectionAnalyzerInjectable

public RuntimeInjectionAnalyzerInjectable()
Method Detail

getServiceName

public org.jboss.msc.service.ServiceName getServiceName(org.jboss.msc.service.ServiceTarget serviceTarget,
                                                        org.jboss.as.server.deployment.DeploymentUnit unit)
                                                 throws Exception
Description copied from interface: Injectable
Retrieve the MSC ServiceName of the actual underlying injectable asset.

Parameters:
serviceTarget - The service target if the injectable needs to create new services.
Returns:
The ServiceName of the injectable item.
Throws:
Exception

TorqueBox 3.1.2

Copyright © 2015 JBoss by Red Hat. All Rights Reserved.