站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.6 API 英文版文档

JNDIServiceLookup - JBOSS Portal 2.6 API 英文版文档


org.jboss.portal.test.framework
Class JNDIServiceLookup

java.lang.Object
  extended byorg.jboss.portal.test.framework.ServiceLookup
      extended byorg.jboss.portal.test.framework.JNDIServiceLookup

public class JNDIServiceLookup
extends ServiceLookup

Version:
$Revision: 5498 $
Author:
Julien Viet

Field Summary
private  java.util.Properties env
           
private  java.lang.String jndiName
           
 
Constructor Summary
JNDIServiceLookup()
           
 
Method Summary
 void create()
           
 void destroy()
           
 java.util.Properties getEnv()
           
 java.lang.String getJNDIName()
           
 java.lang.Object getService()
           
 void setEnv(java.util.Properties env)
           
 void setJNDIName(java.lang.String jndiName)
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

env

private java.util.Properties env

jndiName

private java.lang.String jndiName
Constructor Detail

JNDIServiceLookup

public JNDIServiceLookup()
Method Detail

getJNDIName

public java.lang.String getJNDIName()

setJNDIName

public void setJNDIName(java.lang.String jndiName)

getEnv

public java.util.Properties getEnv()

setEnv

public void setEnv(java.util.Properties env)

getService

public java.lang.Object getService()
                            throws java.lang.Exception
Specified by:
getService in class ServiceLookup
Throws:
java.lang.Exception

create

public void create()

start

public void start()

stop

public void stop()

destroy

public void destroy()