public abstract class RemoteNamingProvider extends Object implements NamingProvider
Modifier | Constructor and Description |
---|---|
protected |
RemoteNamingProvider()
Construct a new instance.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
close()
Close the provider.
|
abstract org.jboss.remoting3.Endpoint |
getEndpoint()
Get the Remoting endpoint for this provider.
|
abstract org.xnio.IoFuture<org.jboss.remoting3.ConnectionPeerIdentity> |
getFuturePeerIdentity()
Get the future connection peer identity.
|
abstract org.jboss.remoting3.ConnectionPeerIdentity |
getPeerIdentity()
Get the connection peer identity.
|
org.jboss.remoting3.ConnectionPeerIdentity |
getPeerIdentityForNaming()
Get the connection peer identity for a naming operation.
|
abstract URI |
getProviderUri()
Get the provider URI of this provider.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAuthenticationConfiguration, getCurrentNamingProvider, getSSLContext, performAction, performExceptionAction
public abstract org.jboss.remoting3.Endpoint getEndpoint()
null
)public org.jboss.remoting3.ConnectionPeerIdentity getPeerIdentityForNaming() throws NamingException
immediate
, then the connection
will not actually be established until this method is called. The resultant connection should be closed and
discarded in the event of an error, in order to facilitate automatic reconnection.getPeerIdentityForNaming
in interface NamingProvider
null
)NamingException
- if connecting, authenticating, or re-authenticating the peer failedpublic abstract org.jboss.remoting3.ConnectionPeerIdentity getPeerIdentity() throws org.wildfly.security.auth.AuthenticationException, IOException
immediate
, then the connection
will not actually be established until this method is called. The resultant connection should be closed and
discarded in the event of an error, in order to facilitate automatic reconnection.null
)org.wildfly.security.auth.AuthenticationException
- if authenticating or re-authenticating the peer failedIOException
- if connecting the peer failedpublic abstract org.xnio.IoFuture<org.jboss.remoting3.ConnectionPeerIdentity> getFuturePeerIdentity()
immediate
, then the connection
will not actually be established until this method is called. The resultant connection should be closed and
discarded in the event of an error, in order to facilitate automatic reconnection.null
)public abstract URI getProviderUri()
NamingProvider
getProviderUri
in interface NamingProvider
null
)public abstract void close() throws NamingException
NamingProvider
InitialContext
is closed. This method
should be idempotent.close
in interface AutoCloseable
close
in interface NamingProvider
NamingException
- if an error occurred while closing this providerCopyright © 2017 JBoss by Red Hat. All rights reserved.