|
Oracle® Streams Advanced Queuing Java API Reference 11g Release 2 (11.2) E10768-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
oracle.jms.AQjmsDestinationFactory
public class AQjmsDestinationFactory
This is an Oracle class which implements javax.naming.spi.ObjectFactory. Factory class for producing JMS destination objects
| Constructor Summary | |
|---|---|
AQjmsDestinationFactory()Creates an AQjmsDestinationFactory object. |
|
| Method Summary | |
|---|---|
java.lang.Object |
getObjectInstance(java.lang.Object obj, javax.naming.Name name, javax.naming.Context nameCtx, java.util.Hashtable environment)Creates a destination. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AQjmsDestinationFactory()
AQjmsDestinationFactory object.| Method Detail |
|---|
public java.lang.Object getObjectInstance(java.lang.Object obj,
javax.naming.Name name,
javax.naming.Context nameCtx,
java.util.Hashtable environment)
throws JMSException
name and nameCtx and table attributes obtained using environment.getObjectInstance in interface javax.naming.spi.ObjectFactoryobj - a javax.naming.Reference indicating the destination classname - the location containing the destination attributesnameCtx - a javax.naming.directory.DirContext containing the following destination attributes at the above location:
AQjmsConstants.LDAP_OWN_ATTRAQjmsConstants.LDAP_NAM_ATTRAQjmsConstants.LDAP_PTR_ATTRAQjmsConstants.LDAP_GEN_ATTR:
"queuetype" (AQQueueProperty.NORMAL_QUEUE or AQQueueProperty.EXCEPTION_QUEUE)"maxretries""retryinterval""rentention" (retention time)environment - used to create an InitialDirContext containing the following table attributes at the location indicated by the above AQjmsConstants.LDAP_PTR_ATTR attribute:
AQjmsConstants.LDAP_NAM_ATTRAQjmsConstants.LDAP_GEN_ATTR:
"payloadtype""multiconsumers" (true for a topic, false for a queue)null if:
obj is invalid,name in the provided nameCtx fails,environment fails, orLDAP_*_ATTR attributes are not foundJMSException - if a destination is not created for any reason other than those listed above (which result in a null return value).
|
Oracle® Streams Advanced Queuing Java API Reference 11g Release 2 (11.2) E10768-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||