Yazi Ekle
-
java
|
javax
|
org
javax
>
javax.naming
>
javax.naming.initialcontext
>
Class: javax.naming.InitialContext
java.lang.Object
javax.naming.InitialContext
public class
InitialContext
extends
Object
implements
Context
FIELDS:
protected
Context
defaultInitCtx
protected boolean
gotDefault
protected
Hashtable
myProps
CONSTRUCTORS:
protected
InitialContext
(boolean lazy)
public
InitialContext
()
public
InitialContext
(
Hashtable
environment)
METHODS:
public
Object
addToEnvironment
(
String
propName,
Object
propVal)
Throws:
NamingException
public
void
bind
(
String
name,
Object
obj)
Throws:
NameAlreadyBoundException
Throws:
InvalidAttributesException
Throws:
NamingException
public
void
bind
(
Name
name,
Object
obj)
Throws:
NameAlreadyBoundException
Throws:
InvalidAttributesException
Throws:
NamingException
public
void
close
()
Throws:
NamingException
public
String
composeName
(
String
name,
String
prefix)
Throws:
NamingException
public
Name
composeName
(
Name
name,
Name
prefix)
Throws:
NamingException
public
Context
createSubcontext
(
String
name)
Throws:
NameAlreadyBoundException
Throws:
InvalidAttributesException
Throws:
NamingException
public
Context
createSubcontext
(
Name
name)
Throws:
NameAlreadyBoundException
Throws:
InvalidAttributesException
Throws:
NamingException
public
void
destroySubcontext
(
String
name)
Throws:
NameNotFoundException
Throws:
NotContextException
Throws:
ContextNotEmptyException
Throws:
NamingException
public
void
destroySubcontext
(
Name
name)
Throws:
NameNotFoundException
Throws:
NotContextException
Throws:
ContextNotEmptyException
Throws:
NamingException
public static
Object
doLookup
(
String
name)
Throws:
NamingException
public static
Object
doLookup
(
Name
name)
Throws:
NamingException
protected
Context
getDefaultInitCtx
()
Throws:
NoInitialContextException
Throws:
NamingException
public
Hashtable
getEnvironment
()
Throws:
NamingException
public
String
getNameInNamespace
()
Throws:
OperationNotSupportedException
Throws:
NamingException
public
NameParser
getNameParser
(
String
name)
Throws:
NamingException
public
NameParser
getNameParser
(
Name
name)
Throws:
NamingException
protected
Context
getURLOrDefaultInitCtx
(
String
name)
Throws:
NoInitialContextException
Throws:
NamingException
protected
Context
getURLOrDefaultInitCtx
(
Name
name)
Throws:
NoInitialContextException
Throws:
NamingException
protected
void
init
(
Hashtable
environment)
Throws:
NamingException
public
NamingEnumeration
list
(
String
name)
Throws:
NamingException
public
NamingEnumeration
list
(
Name
name)
Throws:
NamingException
public
NamingEnumeration
listBindings
(
String
name)
Throws:
NamingException
public
NamingEnumeration
listBindings
(
Name
name)
Throws:
NamingException
public
Object
lookup
(
String
name)
Throws:
NamingException
public
Object
lookup
(
Name
name)
Throws:
NamingException
public
Object
lookupLink
(
String
name)
Throws:
NamingException
public
Object
lookupLink
(
Name
name)
Throws:
NamingException
public
void
rebind
(
String
name,
Object
obj)
Throws:
InvalidAttributesException
Throws:
NamingException
public
void
rebind
(
Name
name,
Object
obj)
Throws:
InvalidAttributesException
Throws:
NamingException
public
Object
removeFromEnvironment
(
String
propName)
Throws:
NamingException
public
void
rename
(
String
oldName,
String
newName)
Throws:
NameAlreadyBoundException
Throws:
NamingException
public
void
rename
(
Name
oldName,
Name
newName)
Throws:
NameAlreadyBoundException
Throws:
NamingException
public
void
unbind
(
String
name)
Throws:
NameNotFoundException
Throws:
NamingException
public
void
unbind
(
Name
name)
Throws:
NameNotFoundException
Throws:
NamingException
INHERITED METHODS:
getClass()
,
hashCode()
,
equals(java.lang.Object)
,
clone()
,
toString()
,
notify()
,
notifyAll()
,
wait(long)
,
wait(long, int)
,
wait()
,
finalize()
,
SUBCLASSES:
InitialDirContext
,
Yazilar kaynak gosterilmeden kopyalanamaz © www.kodcu.net