|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.platform.symphony.soam.ResourceAttribute
public class ResourceAttribute
A resource attribute that the application wishes to publish to the system.
NOTE: If any of the methods of this class are called after the main(...) method exits,
the client or service process may behave in an undefined manner (for example,
hang or terminate abnormally).
ServiceContext.publish(com.platform.symphony.soam.ResourceAttribute)
Constructor Summary | |
---|---|
ResourceAttribute(java.lang.String name)
Constructs a ResourceAttribute object with the specified name. |
Method Summary | |
---|---|
void |
setScope(long scope)
Sets the scope of the resource attribute. |
void |
setValue(double value)
Sets the value associated with the resource attribute. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResourceAttribute(java.lang.String name)
name
- The name of the resource attribute.Method Detail |
---|
public void setValue(double value) throws SoamException
value
- The value to be associated with the resource attribute.
SoamException
public void setScope(long scope) throws SoamException
scope
- The scope of the attibute.
SoamException
ResourceAttributeScope
|
Version 5.1 Date Modified: -DREL_DATE=Apr 28 2011 Platform Computing. Accelerating Intelligence(TM). Copyright (C) 2001-2009 Platform Computing Corporation. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |