public class JavaBehaviour extends BaseBehaviour
Behaviour.NotificationFrequencyfrequency, proxies| Constructor and Description |
|---|
JavaBehaviour(java.lang.Object instance,
java.lang.String method)
Construct.
|
JavaBehaviour(java.lang.Object instance,
java.lang.String method,
Behaviour.NotificationFrequency frequency)
Construct.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getInterface(java.lang.Class policy)
Gets the requested policy interface onto the behaviour
|
java.lang.String |
toString() |
disable, enable, getNotificationFrequency, isEnabled, setNotificationFrequencypublic JavaBehaviour(java.lang.Object instance,
java.lang.String method)
instance - the object instance holding the methodmethod - the method namepublic JavaBehaviour(java.lang.Object instance,
java.lang.String method,
Behaviour.NotificationFrequency frequency)
instance - the object instance holding the methodmethod - the method namepublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.Object getInterface(java.lang.Class policy)
Behaviourpolicy - the policy interface classCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.