public class PackageDescriptor
extends com.streamscape.sef.dispatcher.AbstractPackageDescriptor
Title: Service Event Fabric Core
Description: Defines a package element in the Package Manifest
.
There may be any number of packages added to the manifest at any given time and their sequence is strictly ordered. This sequence is used by the component manager during the loading of the component to build the package tree and it's associate Class Loader Chain.
The sequence is typically maintained by the specific implementation of the manifest manager. As such
users don't have direct access to this element. Packages are stored in an ordered list that preserves
the sequence, hence the identifier is mostly for documentation and UI purposes. Not all packages
may be auto-loaded at component initialization. The autoloadPackage
controls this setting.
Packages that are loaded as root
will have their Class Loader
added as the
new root loader of the chain. If such a package is also chained it preserves the integrity of
the loader chain and sets itself as the new root. This allows the manifest to assemble the loaders
into a tree based on the user's needs.
Copyright: Copyright (c) 2010
Company: StreamScape Technologies
DEFAULT_SERIAL_VERSION_ID
Modifier and Type | Method and Description |
---|---|
PackageDescriptor |
clone()
Clones the object.
|
static PackageDescriptor |
create(Package pkg) |
static PackageDescriptor |
create(Package pkg,
java.lang.Boolean autoload) |
static PackageDescriptor |
create(Package pkg,
java.lang.Boolean autoload,
java.lang.Boolean global) |
boolean |
equals(java.lang.Object other) |
java.lang.String |
getFullName() |
java.lang.String |
getPackageName() |
PackageType |
getPackageType() |
boolean |
isAutoload() |
boolean |
isGeneric() |
boolean |
isGlobal() |
boolean |
isReplicable() |
boolean |
isValid() |
boolean |
loadAsRoot() |
static Pair |
parseFullName(java.lang.String fullName) |
void |
setAutoload(boolean autoload) |
java.lang.String |
toString() |
boolean |
useChainedLoader() |
getSerialVersionUID
public java.lang.String getPackageName()
public PackageType getPackageType()
public void setAutoload(boolean autoload)
setAutoload
in class com.streamscape.sef.dispatcher.AbstractPackageDescriptor
public boolean isAutoload()
isAutoload
in class com.streamscape.sef.dispatcher.AbstractPackageDescriptor
public boolean useChainedLoader()
public boolean loadAsRoot()
public boolean isGlobal()
isGlobal
in class com.streamscape.sef.dispatcher.AbstractPackageDescriptor
public boolean isGeneric()
isGeneric
in class com.streamscape.sef.dispatcher.AbstractPackageDescriptor
public boolean isReplicable()
public java.lang.String getFullName()
public static Pair parseFullName(java.lang.String fullName) throws javax.naming.NamingException
javax.naming.NamingException
public boolean isValid()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public static PackageDescriptor create(Package pkg)
public static PackageDescriptor create(Package pkg, java.lang.Boolean autoload)
public static PackageDescriptor create(Package pkg, java.lang.Boolean autoload, java.lang.Boolean global)
public PackageDescriptor clone()
CloneableDataObject
clone
in interface CloneableObject
clone
in class CloneableDataObject
Copyright © 2015-2024 StreamScape Technologies. All rights reserved.