| java.lang.Object com.sun.jbi.framework.SharedLibrary
Constructor Summary | |
| SharedLibrary(String name, String desc, String root, List elementList) Constructs a SharedLibrary object with the specified name, description,
installation root directory, and list of class path elements.
Parameters: name - The unique name of this Shared Library. Parameters: desc - The description of this Shared Library. Parameters: root - The installation root directory for this Shared Library. Parameters: elementList - A list of class path elements comprising thisShared Library. | | SharedLibrary(String name, String desc, String root, boolean isSelfFirst, List elementList) Constructs a SharedLibrary object with the specified component name,
description, component root directory, and list of class path elements.
Parameters: name - The unique name of this Shared Library. Parameters: desc - The description of this Shared Library. Parameters: root - The component root directory for this Shared Library. Parameters: isSelfFirst - A flag set to true to force the class loader forthis Shared Library to use a self-first hierarchy, or false to use thenormal parent-first hierarchy. Parameters: elementList - A list of class path elements comprising thisShared Library. | | SharedLibrary(com.sun.jbi.ComponentInfo slInfo) |
SharedLibrary | SharedLibrary(String name, String desc, String root, List elementList)(Code) | | Constructs a SharedLibrary object with the specified name, description,
installation root directory, and list of class path elements.
Parameters: name - The unique name of this Shared Library. Parameters: desc - The description of this Shared Library. Parameters: root - The installation root directory for this Shared Library. Parameters: elementList - A list of class path elements comprising thisShared Library. Each element is a string containing either a directorypath or a jar file path. The elements must be in the order in whichthey should appear in the class path. throws: java.lang.IllegalArgumentException - if any arguments are invalid. |
SharedLibrary | SharedLibrary(String name, String desc, String root, boolean isSelfFirst, List elementList)(Code) | | Constructs a SharedLibrary object with the specified component name,
description, component root directory, and list of class path elements.
Parameters: name - The unique name of this Shared Library. Parameters: desc - The description of this Shared Library. Parameters: root - The component root directory for this Shared Library. Parameters: isSelfFirst - A flag set to true to force the class loader forthis Shared Library to use a self-first hierarchy, or false to use thenormal parent-first hierarchy. Parameters: elementList - A list of class path elements comprising thisShared Library. Each element is a string containing either a directorypath or a jar file path. The elements must be in the order in whichthey should appear in the class path. throws: java.lang.IllegalArgumentException - if any arguments are invalid. |
SharedLibrary | SharedLibrary(com.sun.jbi.ComponentInfo slInfo)(Code) | | Constructor for building an instance from a ComponentInfo
Parameters: slInfo - - SharedLibrary Info |
equals | public boolean equals(Object object)(Code) | | Compare another object with this one for equality.
Parameters: object - The object to be compared with this one. True if the object is equal to this one, falseif they are not equal. |
getBootstrapClassPathElements | public java.util.List getBootstrapClassPathElements()(Code) | | Get the class path elements needed in the bootstrap runtime environment.
nothing, always throws an exception. throws: UnsupportedOperationException - if called. |
getClassPathAsString | public String getClassPathAsString()(Code) | | Get the complete classpath for this Shared Library.
The list of elements of the classpath for this Shared Library,in the correct order, as a valid class path string. |
getClassPathElements | public List getClassPathElements()(Code) | | Get the list of elements that comprise the classpath for this
Shared Library.
The list of elements of the classpath for this Shared Library,in the correct search order. |
getComponentClassName | public String getComponentClassName()(Code) | | Get the component class name. For a Shared Library, this method always
returns null.
Always null. |
getComponentType | public ComponentType getComponentType()(Code) | | Get the component type. This always returns SHARED_LIBRARY.
The component type, which is always SHARED_LIBRARY. |
getComponentTypeAsString | public String getComponentTypeAsString()(Code) | | Get the component type as a string.
The component type as a string ("Shared Library"). |
getDescription | public String getDescription()(Code) | | Get the description of this Shared Library.
The description of the Shared Library. |
getInstallRoot | public String getInstallRoot()(Code) | | Get the installation root directory for this Shared Library.
The installation root directory path. |
getInstallationDescriptor | public String getInstallationDescriptor()(Code) | | the Installation Descriptor [jbi.xml] for theShared Library. |
getName | public String getName()(Code) | | Get the unique name of this Shared Library.
The unique name of the Shared Library. |
getServiceUnitList | public List getServiceUnitList()(Code) | | Get the list of deployed SUs. For a Shared Library, this method always
returns null.
Always null. |
getSharedLibraryNames | public List getSharedLibraryNames()(Code) | | Get the list of required Shared Library names. For a Shared Library,
this method call always returns null.
Always null. |
getStatus | public ComponentState getStatus()(Code) | | Get the component status. This always returns SHUTDOWN.
The component status, which is always SHUTDOWN. |
getStatusAsString | public String getStatusAsString()(Code) | | Get the component status as a string. This always returns "Installed".
The component status string, which is always "Installed". |
hashCode | public int hashCode()(Code) | | Get the hash code for this Shared Library.
The hash code. |
isBootstrapClassLoaderSelfFirst | public boolean isBootstrapClassLoaderSelfFirst()(Code) | | Check to see if the bootstrap class loader should use a self-first
search hierarchy.
nothing, always throws an exception. throws: UnsupportedOperationException - if called. |
isClassLoaderSelfFirst | public boolean isClassLoaderSelfFirst()(Code) | | Check to see if the shared class loader should use the self-first
hierarchy.
true if the class loader should use the self-first hierarchy,false if it should use parent-first. |
setClassLoaderSelfFirst | public void setClassLoaderSelfFirst(boolean isSelfFirst)(Code) | | Set the flag that determines the hierarchy for the shared class loader,
which is true for self-first or false for parent-first.
Parameters: isSelfFirst - is true for a self-first class loading hierarchy, orfalse for a parent-first hierarchy. |
setInstallationDescriptor | public void setInstallationDescriptor(String jbiXml)(Code) | | Parameters: jbiXml - - the string representation of the installation descriptorfor this Shared Library |
toString | public String toString()(Code) | | Convert to a String.
The String representation of this SharedLibrary. |
|
|