org.ow2.petals.communication.jndi.client.naming
Class JNDIConnection

java.lang.Object
  extended by org.ow2.petals.communication.jndi.client.naming.JNDIConnection
All Implemented Interfaces:
java.io.Serializable, NamingConnection

public class JNDIConnection
extends java.lang.Object
implements NamingConnection, java.io.Serializable

Connection to the PEtALS JNDI agent.

Author:
ddesjardins - eBMWebsourcing
See Also:
Serialized Form

Field Summary
protected  java.lang.String host
          Host of the PEtALS JNDI Agent
protected  int port
          Port of the PEtALS JNDI Agent
 
Constructor Summary
JNDIConnection(java.net.URI jndiURI)
          Creates a new instance of JNDIConnection
 
Method Summary
 java.lang.Object send(RegistryRequest request)
          Send a request to a Registry server
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

port

protected int port
Port of the PEtALS JNDI Agent


host

protected java.lang.String host
Host of the PEtALS JNDI Agent

Constructor Detail

JNDIConnection

public JNDIConnection(java.net.URI jndiURI)
Creates a new instance of JNDIConnection

Parameters:
port -
host -
Method Detail

send

public java.lang.Object send(RegistryRequest request)
                      throws javax.naming.NamingException
Send a request to a Registry server

Specified by:
send in interface NamingConnection
Parameters:
request - request to send
Returns:
return of the request
Throws:
javax.naming.NamingException - if a NamingException is thrown on the server


Copyright © 2005-2011 Petals Link (EBM Websourcing). All Rights Reserved.