org.alfresco.repo.jscript
Class ScriptBehaviour
java.lang.Object
org.alfresco.repo.policy.BaseBehaviour
org.alfresco.repo.jscript.ScriptBehaviour
- All Implemented Interfaces:
- Behaviour
public class ScriptBehaviour
- extends BaseBehaviour
JavaScript behaviour implementation
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ScriptBehaviour
public ScriptBehaviour()
ScriptBehaviour
public ScriptBehaviour(ServiceRegistry serviceRegistry,
ScriptLocation location)
ScriptBehaviour
public ScriptBehaviour(ServiceRegistry serviceRegistry,
ScriptLocation location,
Behaviour.NotificationFrequency frequency)
setServiceRegistry
public void setServiceRegistry(ServiceRegistry serviceRegistry)
setLocation
public void setLocation(ScriptLocation location)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getInterface
public java.lang.Object getInterface(java.lang.Class policy)
- Description copied from interface:
Behaviour
- Gets the requested policy interface onto the behaviour
- Parameters:
policy
- the policy interface class
- Returns:
- the policy interface
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.