|
WebLogic Integration | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.bea.wlai.common.NamespaceObjectHandle
Represents a handle to an object within a namespace. Objects of this class provide enough information to retrieve the actual object they represent. This class does not provide any object retrieval capabilities, nor does it know or suggest the method by which objects will be retrieved.
Constructor Summary | |
NamespaceObjectHandle(INamespaceObject obj)
Construct a new NamespaceObjectHandle that refers to the given INamespaceObject object. |
|
NamespaceObjectHandle(QualifiedName qname,
java.lang.String className)
Construct a new NamespaceObjectHandle with the given qualified name and class name. |
Method Summary | |
java.lang.String |
getClassName()
Get the name of the Class of the object this handle represents. |
java.lang.String |
getName()
Get the object name of the object this handle represents. |
QualifiedName |
getQualifiedName()
Get the qualified name of the object this handle represents. |
boolean |
isAssignableTo(java.lang.Class clazz)
Convenience method to check if this handle refers to an object which is assignable from given class. |
void |
setClassName(java.lang.String name)
Set the name of the Class of the object this handle represents. |
void |
setQualifiedName(QualifiedName qname)
Set the qualified name of the object this handle represents. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public NamespaceObjectHandle(INamespaceObject obj)
obj
- The INamespaceObject object this handle will refer to. Null is
not allowed.public NamespaceObjectHandle(QualifiedName qname, java.lang.String className)
qname
- The qualified name of the namespace object this handle
represents. Null is not allowed.className
- The name of the class for the namespace object this
handle represents. Null is not allowed.Method Detail |
public void setQualifiedName(QualifiedName qname)
qname
- The qualified name of the object this handle represents. Null
is not allowed.public QualifiedName getQualifiedName()
public java.lang.String getName()
public void setClassName(java.lang.String name)
name
- The name of the Class of the object this handle represents.
Null is not allowed.public java.lang.String getClassName()
public boolean isAssignableTo(java.lang.Class clazz)
boolean result = handle. isAssignableTo(com.bea.wlai.common.IApplicationViewDescriptor.class);returns true.
The
- Class object representing the type to be assigned to.
|
WebLogic Integration | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |