public class ClassLoaderModelProperty extends Object implements ModelProperty
EnrichableModel with a ClassLoader.| Constructor and Description |
|---|
ClassLoaderModelProperty(ClassLoader classLoader)
Creates a new instance
|
| Modifier and Type | Method and Description |
|---|---|
ClassLoader |
getClassLoader() |
String |
getName()
A unique name which identifies this property.
|
boolean |
isExternalizable()
Whether this instance should be included when serializing or sharing
the owning
EnrichableModel or if on the contrary, this model property
holds information which is proprietary to the runtime and should not
communicated. |
public ClassLoaderModelProperty(ClassLoader classLoader)
classLoader - the ClassLoader that this instance referencespublic String getName()
ModelPropertygetName in interface ModelPropertygetName in interface NamedclassLoaderpublic boolean isExternalizable()
ModelPropertyEnrichableModel or if on the contrary, this model property
holds information which is proprietary to the runtime and should not
communicated.
Non externalizable properties should be skipped by serializers and any other kind of sharing mechanisms.
isExternalizable in interface ModelPropertyfalsepublic ClassLoader getClassLoader()
ClassLoaderCopyright © 2016 MuleSoft, Inc.. All rights reserved.