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

构造方法摘要
Activator()
           
 
方法摘要
 void bundleChanged(org.osgi.framework.BundleEvent event)
           
static List<String> getClasses(String pack, org.osgi.framework.Bundle bundle)
          获取 Bundle 指定包及其所有子包下所有类的名称(类的全限定名)
 void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
           
 void setBaseDAO(IBaseDAO baseDAO)
           
 void start(org.osgi.framework.BundleContext context)
           
 void stop(org.osgi.framework.BundleContext arg0)
           
 
从类 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.