Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.automation.core.impl
Class OperationTypeImpl

java.lang.Object
  extended by org.nuxeo.ecm.automation.core.impl.OperationTypeImpl
All Implemented Interfaces:
OperationType

public class OperationTypeImpl
extends Object
implements OperationType

Author:
Bogdan Stefanescu

Constructor Summary
OperationTypeImpl(AutomationService service, Class<?> type)
           
 
Method Summary
 OperationDocumentation getDocumentation()
           
 String getId()
           
 List<InvokableMethod> getMethods()
           
 InvokableMethod[] getMethodsMatchingInput(Class<?> in)
           
 AutomationService getService()
          Gets the service that registered that type.
 Class<?> getType()
           
 void inject(OperationContext ctx, Map<String,Object> args, Object target)
           
 Object newInstance(OperationContext ctx, Map<String,Object> args)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OperationTypeImpl

public OperationTypeImpl(AutomationService service,
                         Class<?> type)
Method Detail

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

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.