📄 namingprovider.java
字号:
/*
* Copyright (C) The Apache Software Foundation. All rights reserved.
*
* This software is published under the terms of the Apache Software License
* version 1.1, a copy of which has been included with this distribution in
* the LICENSE file.
*/
package org.apache.avalon.excalibur.naming;
import javax.naming.Context;
import javax.naming.Name;
import javax.naming.Binding;
import javax.naming.NameClassPair;
import javax.naming.NameParser;
import javax.naming.NamingException;
/**
* The underlying communication interface for remote contexts.
*
* @author <a href="mailto:donaldp@apache.org">Peter Donald</a>
* @version $Revision: 1.2 $
*/
public interface NamingProvider
{
NameParser getNameParser()
throws NamingException, Exception;
void bind( Name name, String className, Object object )
throws NamingException, Exception;
void rebind( Name name, String className, Object object )
throws NamingException, Exception;
Context createSubcontext( Name name )
throws NamingException, Exception;
void destroySubcontext( Name name )
throws NamingException, Exception;
NameClassPair[] list( Name name )
throws NamingException, Exception;
Binding[] listBindings( Name name )
throws NamingException, Exception;
Object lookup( Name name )
throws NamingException, Exception;
void unbind( Name name )
throws NamingException, Exception;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -