com.sun.jini.jeri.internal.connection
Class BasicConnManagerFactory

java.lang.Object
  extended by com.sun.jini.jeri.internal.connection.BasicConnManagerFactory
All Implemented Interfaces:
ConnManagerFactory

public class BasicConnManagerFactory
extends Object
implements ConnManagerFactory

Creates ConnManager instances which delegate directly to ConnectionManager.

Since:
2.0
Author:
Sun Microsystems, Inc.

Constructor Summary
BasicConnManagerFactory()
           
 
Method Summary
 ConnManager create(ConnectionEndpoint endpoint)
          Returns ConnManager containing a ConnectionManager constructed with the given ConnectionEndpoint; the newRequest method of the returned ConnManager delegates directly to the corresponding method of the contained ConnectionManager.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicConnManagerFactory

public BasicConnManagerFactory()
Method Detail

create

public ConnManager create(ConnectionEndpoint endpoint)
Returns ConnManager containing a ConnectionManager constructed with the given ConnectionEndpoint; the newRequest method of the returned ConnManager delegates directly to the corresponding method of the contained ConnectionManager.

Specified by:
create in interface ConnManagerFactory
Parameters:
endpoint - endpoint to manage connections of
Returns:
manager for connections initiated using given endpoint
Throws:
NullPointerException - if endpoint is null


Copyright 2007-2010, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.