gboat2.base.dao
类 Activator
java.lang.Object
gboat2.base.dao.Activator
- 所有已实现的接口:
- EventListener, org.osgi.framework.BundleActivator, org.osgi.framework.BundleListener, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware
public class Activator
- extends Object
- implements org.osgi.framework.BundleActivator, org.osgi.framework.BundleListener, org.springframework.context.ApplicationContextAware
bundle model对象注册工具类
- 作者:
- liuliang,lysming
2011-12-31
从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Activator
public Activator()
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
- 指定者:
- 接口
org.springframework.context.ApplicationContextAware
中的 setApplicationContext
start
public void start(org.osgi.framework.BundleContext context)
throws Exception
- 指定者:
- 接口
org.osgi.framework.BundleActivator
中的 start
- 抛出:
Exception
bundleChanged
public void bundleChanged(org.osgi.framework.BundleEvent event)
- 指定者:
- 接口
org.osgi.framework.BundleListener
中的 bundleChanged
getClasses
public static List<String> getClasses(String pack,
org.osgi.framework.Bundle bundle)
- 获取 Bundle 指定包及其所有子包下所有类的名称(类的全限定名)
- 参数:
pack
- 要扫描的包bundle
- bundle
- 返回:
- List
setBaseDAO
public void setBaseDAO(IBaseDAO baseDAO)
stop
public void stop(org.osgi.framework.BundleContext arg0)
throws Exception
- 指定者:
- 接口
org.osgi.framework.BundleActivator
中的 stop
- 抛出:
Exception
Copyright © 2014 广联达软件股份有限公司(Glodon Software Co., Ltd.). All rights reserved.