public class HaRemoteNamingStore extends Object implements RemoteNamingStore
| Constructor and Description |
|---|
HaRemoteNamingStore(List<RemoteNamingStoreConnectionInfo> namingStoreConnections,
boolean randomServer) |
HaRemoteNamingStore(long channelCreationTimeoutInMillis,
org.xnio.OptionMap channelCreationOptions,
long connectionTimeout,
CallbackHandler callbackHandler,
org.xnio.OptionMap connectOptions,
List<URI> connectionURIs,
org.jboss.remoting3.Endpoint clientEndpoint,
boolean randomServer) |
| Modifier and Type | Method and Description |
|---|---|
void |
addEjbContext(CurrentEjbClientConnection connection) |
void |
bind(Name name,
Object object) |
void |
close() |
void |
closeAsync() |
Context |
createSubcontext(Name name) |
void |
destroySubcontext(Name name) |
List<NameClassPair> |
list(Name name) |
List<Binding> |
listBindings(Name name) |
Object |
lookup(Name name) |
Object |
lookupLink(Name name) |
void |
rebind(Name name,
Object object) |
void |
removeEjbContext(CurrentEjbClientConnection connection) |
void |
rename(Name name,
Name object) |
void |
unbind(Name name) |
public HaRemoteNamingStore(long channelCreationTimeoutInMillis,
org.xnio.OptionMap channelCreationOptions,
long connectionTimeout,
CallbackHandler callbackHandler,
org.xnio.OptionMap connectOptions,
List<URI> connectionURIs,
org.jboss.remoting3.Endpoint clientEndpoint,
boolean randomServer)
channelCreationTimeoutInMillis - The channel creation timeout in milli secchannelCreationOptions - The channel creation optionsconnectionTimeout - The connection creation timeout in milli seccallbackHandler - The callback handlerconnectOptions - The connection creation optionsconnectionURIs - The connection URIsclientEndpoint - The client EndpointrandomServer - True if a random connection URI has to be picked, from among the passed
connectionURIs for establishing the first connectionpublic HaRemoteNamingStore(List<RemoteNamingStoreConnectionInfo> namingStoreConnections, boolean randomServer)
namingStoreConnections - The connection information to the destination server(s). Cannot be null or emptyrandomServer - True if a random connection URI has to be picked, from among the passed
namingStoreConnections for establishing the first connectionpublic Object lookup(Name name) throws NamingException
lookup in interface RemoteNamingStoreNamingExceptionpublic void bind(Name name, Object object) throws NamingException
bind in interface RemoteNamingStoreNamingExceptionpublic void rebind(Name name, Object object) throws NamingException
rebind in interface RemoteNamingStoreNamingExceptionpublic void rename(Name name, Name object) throws NamingException
rename in interface RemoteNamingStoreNamingExceptionpublic List<NameClassPair> list(Name name) throws NamingException
list in interface RemoteNamingStoreNamingExceptionpublic List<Binding> listBindings(Name name) throws NamingException
listBindings in interface RemoteNamingStoreNamingExceptionpublic void unbind(Name name) throws NamingException
unbind in interface RemoteNamingStoreNamingExceptionpublic Context createSubcontext(Name name) throws NamingException
createSubcontext in interface RemoteNamingStoreNamingExceptionpublic void destroySubcontext(Name name) throws NamingException
destroySubcontext in interface RemoteNamingStoreNamingExceptionpublic Object lookupLink(Name name) throws NamingException
lookupLink in interface RemoteNamingStoreNamingExceptionpublic void close()
throws NamingException
close in interface RemoteNamingStoreNamingExceptionpublic void closeAsync()
closeAsync in interface RemoteNamingStorepublic void addEjbContext(CurrentEjbClientConnection connection)
addEjbContext in interface RemoteNamingStorepublic void removeEjbContext(CurrentEjbClientConnection connection)
removeEjbContext in interface RemoteNamingStoreCopyright © 2019 JBoss by Red Hat. All Rights Reserved.