com.vii.brillien.kernel.annotations
Annotation Type PresenceService


@Retention(value=RUNTIME)
@Target(value=TYPE)
@Inherited
public @interface PresenceService

Extra management information is provided through this annotation during the definition of a Presence type. Like logging, logical name, state devision type name


Optional Element Summary
 String datePattern
          CronPattern allowing to define regular execution linked to dates like: every monday 9AM or on 9th of every month Availabe only for RESIDENT entities
 boolean internal
          Tells whether this presence represents an internal entity not to be published its services
 String logLevel
          Setter method for logging level of the Presence type.
 int logType
          Setter method for logging type
 long messageExpiration
          Tells the expiration taken into account by the given Precense
 String name
          Returns the components's published name Default is the name of the Class
 boolean periodical
          Tells whether the Presence has periodical aspiring activity
 String presenceManager
          Setter method for full qualified name of the PresenceManager for instantiation process
 String stateDivision
          Setter method for full qualified name of the StateDivision type
 boolean strait
          Tells whether this presence rejects all messages without an associated handler to it.
 long timeMeasure
          Timout for this component measured in milliseconds
 

name

public abstract String name
Returns the components's published name Default is the name of the Class

Returns:
Presence's published name
Default:
""

logType

public abstract int logType
Setter method for logging type

Returns:
logging type
Default:
1

logLevel

public abstract String logLevel
Setter method for logging level of the Presence type. According to the logging type, all logged method will be logged at this level.

Returns:
logging level
Default:
"FINE"

presenceManager

public abstract String presenceManager
Setter method for full qualified name of the PresenceManager for instantiation process

Returns:
name of presence manager
Default:
""

stateDivision

public abstract String stateDivision
Setter method for full qualified name of the StateDivision type

Returns:
name of state division
Default:
""

timeMeasure

public abstract long timeMeasure
Timout for this component measured in milliseconds

Default:
-1L

datePattern

public abstract String datePattern
CronPattern allowing to define regular execution linked to dates like: every monday 9AM or on 9th of every month Availabe only for RESIDENT entities

See Also:
CronPattern
Default:
""

periodical

public abstract boolean periodical
Tells whether the Presence has periodical aspiring activity

Default:
false

messageExpiration

public abstract long messageExpiration
Tells the expiration taken into account by the given Precense

Default:
-1L

internal

public abstract boolean internal
Tells whether this presence represents an internal entity not to be published its services

Default:
false

strait

public abstract boolean strait
Tells whether this presence rejects all messages without an associated handler to it.

Default:
true


Copyright © 2012. All Rights Reserved.