org.nuxeo.ecm.automation.core.impl
Class OperationTypeImpl
java.lang.Object
org.nuxeo.ecm.automation.core.impl.OperationTypeImpl
- All Implemented Interfaces:
- OperationType
public class OperationTypeImpl
- extends Object
- implements OperationType
- Author:
- Bogdan Stefanescu
OperationTypeImpl
public OperationTypeImpl(AutomationService service,
Class<?> type)
getService
public AutomationService getService()
- Description copied from interface:
OperationType
- Gets the service that registered that type.
- Specified by:
getService
in interface OperationType
getId
public String getId()
- Specified by:
getId
in interface OperationType
getType
public Class<?> getType()
- Specified by:
getType
in interface OperationType
newInstance
public Object newInstance(OperationContext ctx,
Map<String,Object> args)
throws Exception
- Specified by:
newInstance
in interface OperationType
- Throws:
Exception
inject
public void inject(OperationContext ctx,
Map<String,Object> args,
Object target)
throws Exception
- Throws:
Exception
getMethods
public List<InvokableMethod> getMethods()
getMethodsMatchingInput
public InvokableMethod[] getMethodsMatchingInput(Class<?> in)
getDocumentation
public OperationDocumentation getDocumentation()
- Specified by:
getDocumentation
in interface OperationType
Copyright © 2011 Nuxeo SAS. All Rights Reserved.