站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 naming API Documentation 英文版文档

TestJNPSockets (JBoss Naming API) - JBoss 4.0.1 sp1 naming API Documentation 英文版文档


org.jnp.test
Class TestJNPSockets

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.jnp.test.TestJNPSockets
All Implemented Interfaces:
junit.framework.Test

public class TestJNPSockets
extends junit.framework.TestCase

A test of RMI custom sockets with the jnp JNDI provider.

Version:
$Revision: 1.2 $
Author:
Scott_Stark@displayscape.com

Nested Class Summary
static class TestJNPSockets.ClientSocketFactory
           
static class TestJNPSockets.ServerSocketFactory
           
 
Constructor Summary
TestJNPSockets(String name)
           
 
Method Summary
static void main(String[] args)
           
protected  void setUp()
           
 void testAccess()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestJNPSockets

public TestJNPSockets(String name)
Method Detail

setUp

protected void setUp()
              throws Exception
Throws:
Exception

testAccess

public void testAccess()
                throws Exception
Throws:
Exception

main

public static void main(String[] args)
                 throws Exception
Throws:
Exception


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.