com.caucho.config.types
Class MessageDestinationRef

java.lang.Object
  extended by com.caucho.config.types.MessageDestinationRef
All Implemented Interfaces:
ObjectProxy

public class MessageDestinationRef
extends java.lang.Object
implements ObjectProxy


Constructor Summary
MessageDestinationRef()
           
MessageDestinationRef(javax.naming.Context context)
           
MessageDestinationRef(Path modulePath)
           
 
Method Summary
 java.lang.Object createObject(java.util.Hashtable env)
          Creates the object from the proxy.
 InjectionTarget getInjectionTarget()
          Gets the injection-target
protected  java.lang.String getTagName()
           
 void init()
           
 void setDescription(java.lang.String description)
           
 void setForeignName(java.lang.String foreignName)
           
 void setInjectionTarget(InjectionTarget injectionTarget)
          Sets the injection-target
 void setMessageDestinationLink(java.lang.String link)
           
 void setMessageDestinationRefName(java.lang.String refName)
           
 void setMessageDestinationRefType(java.lang.Class<?> type)
           
 void setMessageDestinationRefUsage(java.lang.String usage)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MessageDestinationRef

public MessageDestinationRef()

MessageDestinationRef

public MessageDestinationRef(Path modulePath)

MessageDestinationRef

public MessageDestinationRef(javax.naming.Context context)
Method Detail

setDescription

public void setDescription(java.lang.String description)

setInjectionTarget

public void setInjectionTarget(InjectionTarget injectionTarget)
Sets the injection-target


setMessageDestinationRefName

public void setMessageDestinationRefName(java.lang.String refName)

setMessageDestinationRefType

public void setMessageDestinationRefType(java.lang.Class<?> type)

setMessageDestinationRefUsage

public void setMessageDestinationRefUsage(java.lang.String usage)

setMessageDestinationLink

public void setMessageDestinationLink(java.lang.String link)

setForeignName

public void setForeignName(java.lang.String foreignName)

init

@PostConstruct
public void init()
          throws javax.naming.NamingException
Throws:
javax.naming.NamingException

getInjectionTarget

public InjectionTarget getInjectionTarget()
Gets the injection-target


getTagName

protected java.lang.String getTagName()

createObject

public java.lang.Object createObject(java.util.Hashtable env)
                              throws javax.naming.NamingException
Creates the object from the proxy.

Specified by:
createObject in interface ObjectProxy
Returns:
the object named by the proxy.
Throws:
javax.naming.NamingException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object