com.jdon.controller
类 AppUtil

java.lang.Object
  继承者 com.jdon.controller.context.application.Application
      继承者 com.jdon.controller.AppUtil
所有已实现的接口:
AppContextWrapper, SessionWrapper

public class AppUtil
extends Application

Java Application call this class to use JdonFramework. AppUtil appUtil = new AppUtil(); BInterface b = (BInterface) appUtil.getService("b");

作者:
banq

构造方法摘要
AppUtil()
           
AppUtil(String fileName)
           
 
方法摘要
 Object callService(String serviceName, String methodName, Object[] methodParams)
           
 MockRequest createDemoRequest()
           
static MethodMetaArgs createDirectMethod(String methodName, Object[] methodParams)
           
 Object getComponentInstance(String name)
           
 ContainerWrapper getContainer()
           
 String getContainerKey()
           
 String getInterceptorKey()
           
 Object getService(String name)
           
 Object getService(TargetMetaDef targetMetaDef)
           
 void stop()
           
 
从类 com.jdon.controller.context.application.Application 继承的方法
clear, getAttribute, getInitParameter, getResourceAsStream, removeAttribute, setAttribute
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

AppUtil

public AppUtil(String fileName)

AppUtil

public AppUtil()
方法详细信息

stop

public void stop()

createDemoRequest

public MockRequest createDemoRequest()

getService

public Object getService(String name)

getService

public Object getService(TargetMetaDef targetMetaDef)

getComponentInstance

public Object getComponentInstance(String name)

callService

public Object callService(String serviceName,
                          String methodName,
                          Object[] methodParams)
                   throws Exception
抛出:
Exception

getContainerKey

public String getContainerKey()

getInterceptorKey

public String getInterceptorKey()

getContainer

public ContainerWrapper getContainer()
                              throws Exception
抛出:
Exception

createDirectMethod

public static MethodMetaArgs createDirectMethod(String methodName,
                                                Object[] methodParams)


Copyright © 2013. All Rights Reserved.