TorqueBox 3.1.2

org.torquebox.messaging.injection
Class DestinationInjectable

java.lang.Object
  extended by org.torquebox.core.injection.SimpleNamedInjectable
      extended by org.torquebox.core.injection.jndi.JNDIInjectable
          extended by org.torquebox.messaging.injection.DestinationInjectable
All Implemented Interfaces:
Injectable

public class DestinationInjectable
extends JNDIInjectable


Constructor Summary
DestinationInjectable(String type, String name, boolean generic)
           
 
Method Summary
protected  org.jboss.msc.service.ServiceName getConnectionFactoryServiceName()
           
protected  org.jboss.msc.service.ServiceName getDestinationServiceName()
           
 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.
protected  org.jboss.msc.service.ServiceName wrapWithLiveDestination(org.jboss.msc.service.ServiceTarget serviceTarget, org.jboss.as.server.deployment.DeploymentUnit unit, org.jboss.msc.service.ServiceName connectionFactoryServiceName, org.jboss.msc.service.ServiceName destinationServiceName)
           
 
Methods inherited from class org.torquebox.core.injection.jndi.JNDIInjectable
getServiceNameInternal, serviceIsAlreadyWrapped, wrapWithManager
 
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
 

Constructor Detail

DestinationInjectable

public DestinationInjectable(String type,
                             String name,
                             boolean generic)
Method Detail

getServiceName

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

Specified by:
getServiceName in interface Injectable
Overrides:
getServiceName in class JNDIInjectable
Parameters:
serviceTarget - The service target if the injectable needs to create new services.
Returns:
The ServiceName of the injectable item.

wrapWithLiveDestination

protected org.jboss.msc.service.ServiceName wrapWithLiveDestination(org.jboss.msc.service.ServiceTarget serviceTarget,
                                                                    org.jboss.as.server.deployment.DeploymentUnit unit,
                                                                    org.jboss.msc.service.ServiceName connectionFactoryServiceName,
                                                                    org.jboss.msc.service.ServiceName destinationServiceName)

getDestinationServiceName

protected org.jboss.msc.service.ServiceName getDestinationServiceName()

getConnectionFactoryServiceName

protected org.jboss.msc.service.ServiceName getConnectionFactoryServiceName()

TorqueBox 3.1.2

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