|
Oracle® Database Advanced Queuing Java API Reference 12c Release 1 (12.1) E15980-08 |
||||||||
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.ObjectFactory
obj
- 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_ATTR
AQjmsConstants.LDAP_NAM_ATTR
AQjmsConstants.LDAP_PTR_ATTR
AQjmsConstants.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_ATTR
AQjmsConstants.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® Database Advanced Queuing Java API Reference 12c Release 1 (12.1) E15980-08 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2001, 2013, Oracle and/or its affiliates. All rights reserved.
For authorized use only.
Do not distribute to third parties.