@PermitAll public class OperationServiceImpl extends Object implements OperationService
OperationService.OperationService| Modifier and Type | Class and Description |
|---|---|
class |
OperationServiceImpl.Setup |
| Constructor and Description |
|---|
OperationServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
Operation |
getByName(String name)
Retrieves the
Operation object for the given name |
Operation |
produceOperationByName(javax.enterprise.inject.spi.InjectionPoint injectionPoint)
CDI producer method for Operation beans annotated with
NamedOperation. |
OperationServiceImpl.Setup |
setup(Operation operation)
Returns a builder-style instance for fluidly assigning permitted roles for a given operation.
|
OperationServiceImpl.Setup |
setup(String operationName)
Returns a builder-style instance for fluidly assigning permitted roles for an operation with the given name.
|
public Operation getByName(String name)
OperationServiceOperation object for the given namegetByName in interface OperationServicename - unique operation name@Produces public Operation produceOperationByName(javax.enterprise.inject.spi.InjectionPoint injectionPoint)
OperationServiceNamedOperation. This method is not intended to be called by
consumers of the API.produceOperationByName in interface OperationServiceinjectionPoint - the CDI InjectionPointpublic OperationServiceImpl.Setup setup(Operation operation)
OperationServicesetup in interface OperationServiceOperationService.Setup instance.public OperationServiceImpl.Setup setup(String operationName)
OperationServiceIf no operations are found by that name, a new one is created.
setup in interface OperationServiceoperationName - the operation nameCopyright © 2015 Red Hat, Inc.. All rights reserved.