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
| 从类 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.