📄 componentmanager.java
字号:
/*
* ComponentManager.java
*
* Created on 2001年7月13日, 下午1:16
*/
package com.gs.db;
import java.util.*;
/**
* ComponentManager defines the system functions for component
* registration information. You may use getComponent method to
* retrieve a component and then get component agent's instance,
* from which you may have access to the component-specific calls.
*
* @see IofficeComponent, IofficeComponentAgent
*/
public interface ComponentManager {
/**
* Register a new component into Inter-Office System
* @param componentName the name of the component, must be unique
* @param componentAgentClassName the name of the component agent class
* @param entryURL the URL used to entry the component services
* @param weight the importance of the component
*
* @throw UnauthorizedException if not authorized to do so,
* @ throw ComponentRegistrationException if registration fails
*/
public IofficeComponent registerComponent( String componentName,String componentAgentClassName,
String entryURL, String displayName, int weight, int desktop )
throws UnauthorizedException,ComponentRegistrationException;
/**
* Get a IofficeComponent object by the component name
* <i>ComponentNotFoundException</i> will be thrown if the
* name is invalid.
* @param componentName the name of the component
*/
public IofficeComponent getComponent(String componentName) throws ComponentNotFoundException;
/**
* Return the total number of components registered
*/
public int getComponentCount();
/**
* Return an Iterator, de facto,a ComponentIterator(Proxy) object,
* by which you can get each component
*/
public Iterator getComponents();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -