public final class RemoteNamingProvider extends Object implements NamingProvider
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the provider.
|
org.wildfly.security.auth.client.AuthenticationContext |
getCapturedAuthenticationContext()
Get the captured authentication context.
|
org.jboss.remoting3.Connection |
getConnection()
Get the connection.
|
org.jboss.remoting3.Endpoint |
getEndpoint()
Get the Remoting endpoint for this provider.
|
URI |
getProviderUri()
Get the provider URI of this provider.
|
public org.jboss.remoting3.Endpoint getEndpoint()
null)public org.jboss.remoting3.Connection getConnection()
throws 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)IOException - if the connection was not established and establishment failedpublic org.wildfly.security.auth.client.AuthenticationContext getCapturedAuthenticationContext()
null)public URI getProviderUri()
NamingProvidergetProviderUri in interface NamingProviderpublic void close()
throws NamingException
NamingProviderInitialContext is closed. This method
should be idempotent.close in interface AutoCloseableclose in interface NamingProviderNamingException - if an error occurred while closing this providerCopyright © 2016 JBoss by Red Hat. All rights reserved.