TorqueBox 3.1.2

org.torquebox.core.injection.msc
Class ServiceInjectableHandler

java.lang.Object
  extended by org.torquebox.core.injection.analysis.AbstractInjectableHandler
      extended by org.torquebox.core.injection.msc.ServiceInjectableHandler
All Implemented Interfaces:
org.jboss.msc.service.Service<InjectableHandler>, org.jboss.msc.value.Value<InjectableHandler>, InjectableHandler

public class ServiceInjectableHandler
extends AbstractInjectableHandler

Handles MSC service injections. Priority: 100,000

Author:
Bob McWhirter

Field Summary
static String TYPE
           
 
Fields inherited from interface org.torquebox.core.injection.analysis.InjectableHandler
RECOGNITION_PRIORITY
 
Fields inherited from interface org.jboss.msc.service.Service
NULL, NULL_VALUE
 
Constructor Summary
ServiceInjectableHandler()
           
 
Method Summary
 Injectable handle(Object injection, boolean generic)
          Handle injection for an argument.
 boolean recognizes(Object injection)
          Determine if this handler recognizes the argument.
 
Methods inherited from class org.torquebox.core.injection.analysis.AbstractInjectableHandler
getJavaClassName, getRecognitionPriority, getString, getType, getValue, setRecognitionPriority, setType, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TYPE

public static final String TYPE
See Also:
Constant Field Values
Constructor Detail

ServiceInjectableHandler

public ServiceInjectableHandler()
Method Detail

handle

public Injectable handle(Object injection,
                         boolean generic)
Description copied from interface: InjectableHandler
Handle injection for an argument.

generic - Denotes if this is a generic or explicit injection of this type. (Unused?)
Returns:
The resulting injectable.

recognizes

public boolean recognizes(Object injection)
Description copied from interface: InjectableHandler
Determine if this handler recognizes the argument.

Parameters:
injection - The injection object.
Returns:
true if this handler recognizes the argument, otherwise false.

TorqueBox 3.1.2

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