本文整理汇总了Java中com.googlecode.openbeans.beancontext.BeanContextServicesSupport类的典型用法代码示例。如果您正苦于以下问题:Java BeanContextServicesSupport类的具体用法?Java BeanContextServicesSupport怎么用?Java BeanContextServicesSupport使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
BeanContextServicesSupport类属于com.googlecode.openbeans.beancontext包,在下文中一共展示了BeanContextServicesSupport类的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: getService
import com.googlecode.openbeans.beancontext.BeanContextServicesSupport; //导入依赖的package包/类
/**
* Delegate to the wrapped <code>BeanContextServices</code>.
*/
Object getService(BeanContextServices bcs, Object requestor,
Class serviceClass, Object serviceSelector,
BeanContextServiceRevokedListener listener)
throws TooManyListenersException {
return backBCS.getService(BeanContextServicesSupport.this
.getBeanContextServicesPeer(), requestor, serviceClass,
serviceSelector, new ServiceRevokedListenerDelegator(
listener));
}
示例2: serviceRevoked
import com.googlecode.openbeans.beancontext.BeanContextServicesSupport; //导入依赖的package包/类
public void serviceRevoked(BeanContextServiceRevokedEvent event) {
backListener.serviceRevoked(new BeanContextServiceRevokedEvent(
BeanContextServicesSupport.this
.getBeanContextServicesPeer(), event
.getServiceClass(), event
.isCurrentServiceInvalidNow()));
}
示例3: releaseService
import com.googlecode.openbeans.beancontext.BeanContextServicesSupport; //导入依赖的package包/类
/**
* Delegate to the wrapped <code>BeanContextServices</code>.
*/
public void releaseService(BeanContextServices bcs, Object requestor,
Object service) {
backBCS.releaseService(BeanContextServicesSupport.this
.getBeanContextServicesPeer(), requestor, service);
}
示例4: BeanContextServicesSupport
import com.googlecode.openbeans.beancontext.BeanContextServicesSupport; //导入依赖的package包/类
/**
* Constructs a standard <code>BeanContextServicesSupport</code>.
*/
public BeanContextServicesSupport() {
super();
}