public final class SingularAggregatableManager
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
private class |
SingularAggregatableManager.SingularUnbindOnConflictThread |
Modifier and Type | Field and Description |
---|---|
private java.util.Hashtable |
boundAggregatables |
private JMSService |
jmsService |
private static weblogic.security.acl.internal.AuthenticatedSubject |
kernelId |
private java.util.Hashtable |
pendingRequests |
private java.lang.String |
serverName |
Constructor and Description |
---|
SingularAggregatableManager(JMSService jmsService) |
Modifier and Type | Method and Description |
---|---|
void |
aggregatableDidBind(java.lang.String jndiName,
SingularAggregatable sAg) |
private weblogic.jms.dispatcher.JMSDispatcher |
findLeader() |
static SingularAggregatableManager |
findThrowsJMSException() |
private static void |
sendFailedToBind(SingularAggregatable sAg,
LeaderBindResponse lbr) |
java.lang.String |
singularBind(java.lang.String jndiName,
SingularAggregatable sAg) |
java.lang.String |
singularBindFinish(SingularAggregatable sAg,
weblogic.jms.dispatcher.Request parentRequest) |
void |
singularBindStart(java.lang.String jndiName,
SingularAggregatable sAg,
weblogic.jms.dispatcher.Request parentRequest) |
void |
singularUnbind(java.lang.String jndiName) |
private static final weblogic.security.acl.internal.AuthenticatedSubject kernelId
private final java.util.Hashtable pendingRequests
private final java.util.Hashtable boundAggregatables
private final java.lang.String serverName
private final JMSService jmsService
public SingularAggregatableManager(JMSService jmsService)
public static SingularAggregatableManager findThrowsJMSException() throws javax.jms.JMSException
javax.jms.JMSException
private weblogic.jms.dispatcher.JMSDispatcher findLeader() throws javax.jms.JMSException
javax.jms.JMSException
public void singularBindStart(java.lang.String jndiName, SingularAggregatable sAg, weblogic.jms.dispatcher.Request parentRequest) throws javax.jms.JMSException
jndiName
- The JNDI name that should be used when binding this
object. This first portion of this name must match the
getJNDIPrefix method from sAg.sAg
- The singular object to be bound into JNDIparentRequest
- The parent request asking for this bind operation
This is the request which will obtain a client request and which will
be resumed when the reply from this child has completed. Note that
the state of this request will NOT have been changed due to the fact
that states are not available at this level in the object heirarchy. If
parentRequest is null then this is for a blocking request using the
dispatcher of the leaderJMSException
- if there was some problem other than not being
allowed to bind the name into JNDI. A further explanation will be
in the JMSExceptionjavax.jms.JMSException
private static void sendFailedToBind(SingularAggregatable sAg, LeaderBindResponse lbr)
sAg
- The aggregatable we failed to bind. Must have its JNDI name setlbr
- The response we failed to complete properlypublic java.lang.String singularBindFinish(SingularAggregatable sAg, weblogic.jms.dispatcher.Request parentRequest) throws javax.jms.JMSException
sAg
- The SingularAggregatable to bindparentRequest
- the parent request where the result should come fromJMSException
- if there was an error binding into JNDIjavax.jms.JMSException
public java.lang.String singularBind(java.lang.String jndiName, SingularAggregatable sAg) throws javax.jms.JMSException
jndiName
- The JNDI name that should be used when binding this
object. This first portion of this name must match the
getJNDIPrefix method from sAg.sAg
- The singular object to be bound into JNDIJMSException
- if there was an error binding into JNDIjavax.jms.JMSException
public void singularUnbind(java.lang.String jndiName) throws javax.jms.JMSException
jndiName
- The name to unbindJMSException
- if there was some problem unbinding somethingjavax.jms.JMSException
public void aggregatableDidBind(java.lang.String jndiName, SingularAggregatable sAg)
jndiName
- The name under which this SingularAggregatable was boundsAg
- The SingularAggregatable which has been bound