containerbuilder.java

来自「Java/J2EE框架Jdon-Framework系统的Sample」· Java 代码 · 共 51 行

JAVA
51
字号
/**
 * Copyright 2005 Jdon.com
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */

package com.jdon.controller.container;

import com.jdon.controller.ContainerWrapper;
import java.util.Collection;

public interface ContainerBuilder {

  public void XmlConfiguresRegiste(Collection configList);

  //注册ServiceLocator ServiceLocator本身有全局缓存
  //所有的组件都可能使用到。是非常通用的
  //应该是最新注册
  public void serviceLocatorRegiste();

  //注册LRU缓存
  //缓存组件,也是通用的的
  public void cacheFactoryRegiste();

  //注册Model框架
  public void modelManagerRegiste();

  //注册AOP子容器(所有的拦截器)
  public void aopInterceptorRegiste();

  //注册动态Service框架businessproxy
  public void serviceRegiste();

  public void userServiceRegiste();

  public ContainerWrapper getContainerWrapper();

  public void setStartup(boolean startup);

  public boolean isStartup();
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?