ActionScript® 3.0 Reference for the Adobe® Flash® Platform
Home  |  Show Packages and Classes List |  Packages  |  Classes  |  What's New  |  Index  |  Appendixes
com.adobe.gravity.init 

GravityInit  - AS3 ADEP Client Component

Packagecom.adobe.gravity.init
Classpublic class GravityInit
InheritanceGravityInit Inheritance Object
Implements ILogger

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10
Runtime Versions: AIR 1.1, Flash Player 9

Initialize the Client Component Framework during the bootstrap process.



Public Properties
 PropertyDefined By
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
Public Methods
 MethodDefined By
  
GravityInit(gravityBootstrapper:GravityBootstrap, gravityCoreBytes:Class)
Constructor.
GravityInit
 Inherited
Indicates whether an object has a specified property defined.
Object
  
isLoggable(level:int, loggerName:String):Boolean
Determine whether a message will be logged.
GravityInit
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
  
log(level:int, timestamp:Date, sequence:Number, loggerName:String, message:String, params:Object, actor:Object, error:Error):void
Log a message.
GravityInit
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
Returns the string representation of this object, formatted according to locale-specific conventions.
Object
 Inherited
Returns the string representation of the specified object.
Object
 Inherited
Returns the primitive value of the specified object.
Object
Constructor Detail

GravityInit

()Constructor
public function GravityInit(gravityBootstrapper:GravityBootstrap, gravityCoreBytes:Class)

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10
Runtime Versions: AIR 1.1, Flash Player 9

Constructor.

Parameters
gravityBootstrapper:GravityBootstrap — Specifies the GravityBootstrap root content object.
 
gravityCoreBytes:Class — Specifies a class containing the embedded Client Component Framework core SWF file.
Method Detail

isLoggable

()method
public function isLoggable(level:int, loggerName:String):Boolean

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10
Runtime Versions: AIR 1.1, Flash Player 9

Determine whether a message will be logged.

Parameters

level:int — The logging level of the message.
 
loggerName:String — The name of the logger to which the message is to be logged.

Returns
Boolean — true if the message will be logged, false otherwise.

log

()method 
public function log(level:int, timestamp:Date, sequence:Number, loggerName:String, message:String, params:Object, actor:Object, error:Error):void

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10
Runtime Versions: AIR 1.1, Flash Player 9

Log a message.

Parameters

level:int — The logging level for the message, for example LogLevel.INFO.
 
timestamp:Date — The timestamp for the logged event.
 
sequence:Number — A sequence number for absolutely ordering log events, should be computed via Sequence.next().
 
loggerName:String — The name of the logger. Used for log filtering.
 
message:String — The log message, will be formatted with FormatMessage.formatString using the provided params object as parameters.
 
params:Object — Any parameters associated with this message. Used to format the message with FormatMessage.formatString, but also useful to provide additional context for the message. Can be null if there are no parameters.
 
actor:Object — The originating object for the log message. Used by some loggers to differentiate messages generated by different instances of a class. Can be null if there is no obvious actor.
 
error:Error — If the message relates to an error, the Error object can be provided. Can be null if there is no associated error object.