Package de.danet.an.workflow.spis.ras

Examples of de.danet.an.workflow.spis.ras.ResourceAssignmentService


     */
    protected RASInvocationHandler rasInvocationHandler() {
  if (rasCache == null) {
      WorkflowEngine engine = null;
      try {
    ResourceAssignmentService ras
                    = engineLocal().resourceAssignmentService ();
                if (ras == null) {
                    return null;
                }
                rasCache = new DefaultRASInvocationHandler (ras);
View Full Code Here


     * @ejb.transaction type="Supports"
     */
    public ResourceAssignmentService resourceAssignmentService () {
        RequestScope scope = RequestLog.enterScope
            (this, "resourceAssignmentService", new Object[] {});
        ResourceAssignmentService res = null;
        try {
            res = getRas ();
        } catch (RemoteException e) {
            throw new EJBException (e);
        } finally {
View Full Code Here

  throws RemoteException {
        RequestScope scope = RequestLog.enterScope
            (this, "knownResources", new Object[] {});
        Collection res = null;
        try {
            ResourceAssignmentService ras = getRas();
            if (ras == null) {
                throw new UnsupportedOperationException
                    ("No resource assignment service configured.");
            }
            res = ras.knownResources ();
        } finally {
            scope.leave (res);
        }
        return res;
    }
View Full Code Here

  throws InvalidKeyException, RemoteException {
        RequestScope scope = RequestLog.enterScope
            (this, "resourceByKey", new Object[] {});
        WfResource res = null;
        try {
            ResourceAssignmentService ras = getRas();
            if (ras == null) {
                throw new UnsupportedOperationException
                    ("No resource assignment service configured.");
            }
            res = ras.resourceByKey(key);
        } finally {
            scope.leave (res);
        }
        return res;
    }
View Full Code Here

  throws RemoteException {
        RequestScope scope = RequestLog.enterScope
            (this, "authorizers", new Object[] { resource });
        Collection res = null;
        try {
            ResourceAssignmentService ras = getRas();
            if (ras == null) {
                throw new UnsupportedOperationException
                    ("No resource assignment service configured.");
            }
            res = ras.authorizers(resource);
        } finally {
            scope.leave (res);
        }
        return res;
    }
View Full Code Here

  throws RemoteException, InvalidKeyException {
        RequestScope scope = RequestLog.enterScope
            (this, "asResource", new Object[] { principal });
        WfResource res = null;
        try {
            ResourceAssignmentService ras = getRas();
            if (ras == null) {
                throw new UnsupportedOperationException
                    ("No resource assignment service configured.");
            }
            res = ras.asResource(principal);
        } finally {
            scope.leave (res);
        }
        return res;
    }
View Full Code Here

TOP

Related Classes of de.danet.an.workflow.spis.ras.ResourceAssignmentService

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.