@Service
@Reference(name="layerProvider",
strategy=EVENT,
policy=DYNAMIC,
referenceInterface=LayerProvider.class,
cardinality=MANDATORY_MULTIPLE)
public class LayerServiceImpl
extends Object
implements LayerService
LayerService implementation.| Constructor and Description |
|---|
LayerServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
bindLayerProvider(LayerProvider provider) |
MemberTypeAdditions |
getMemberTypeAdditions(String metadataIdentificationString,
String methodIdentifier,
org.springframework.roo.model.JavaType targetEntity,
org.springframework.roo.model.JavaType idType,
int layerPosition,
boolean autowire,
Collection<? extends MethodParameter> methodParameters)
Returns source code modifications for a requested operation offered by a
layer provider
|
MemberTypeAdditions |
getMemberTypeAdditions(String metadataIdentificationString,
String methodIdentifier,
org.springframework.roo.model.JavaType targetEntity,
org.springframework.roo.model.JavaType idType,
int layerPosition,
boolean autowire,
MethodParameter... methodParameters)
Returns source code modifications for a requested operation offered by a
layer provider
|
MemberTypeAdditions |
getMemberTypeAdditions(String metadataIdentificationString,
String methodIdentifier,
org.springframework.roo.model.JavaType targetEntity,
org.springframework.roo.model.JavaType idType,
int layerPosition,
Collection<? extends MethodParameter> methodParameters)
Returns source code modifications for a requested operation offered by a
layer provider
|
MemberTypeAdditions |
getMemberTypeAdditions(String metadataIdentificationString,
String methodIdentifier,
org.springframework.roo.model.JavaType targetEntity,
org.springframework.roo.model.JavaType idType,
int layerPosition,
MethodParameter... methodParameters)
Returns source code modifications for a requested operation offered by a
layer provider
|
protected void |
unbindLayerProvider(LayerProvider provider) |
protected void bindLayerProvider(LayerProvider provider)
public MemberTypeAdditions getMemberTypeAdditions(String metadataIdentificationString, String methodIdentifier, org.springframework.roo.model.JavaType targetEntity, org.springframework.roo.model.JavaType idType, int layerPosition, Collection<? extends MethodParameter> methodParameters)
LayerServicegetMemberTypeAdditions in interface LayerServicemetadataIdentificationString - Id of calling metadata provider
(required)methodIdentifier - specifies the method which is being requested
(required)targetEntity - specifies the target entity (required)idType - specifies the ID type used by the target entity (required)layerPosition - the position of the layer invoking this methodmethodParameters - parameters passed in to the method (types and
names), if anyMemberTypeAdditions if a layer provider can offer this
functionality, null otherwisepublic MemberTypeAdditions getMemberTypeAdditions(String metadataIdentificationString, String methodIdentifier, org.springframework.roo.model.JavaType targetEntity, org.springframework.roo.model.JavaType idType, int layerPosition, boolean autowire, Collection<? extends MethodParameter> methodParameters)
LayerServicegetMemberTypeAdditions in interface LayerServicemetadataIdentificationString - Id of calling metadata provider
(required)methodIdentifier - specifies the method which is being requested
(required)targetEntity - specifies the target entity (required)idType - specifies the ID type used by the target entity (required)layerPosition - the position of the layer invoking this methodmethodParameters - parameters passed in to the method (types and
names), if anyMemberTypeAdditions if a layer provider can offer this
functionality, null otherwisepublic MemberTypeAdditions getMemberTypeAdditions(String metadataIdentificationString, String methodIdentifier, org.springframework.roo.model.JavaType targetEntity, org.springframework.roo.model.JavaType idType, int layerPosition, MethodParameter... methodParameters)
LayerServicegetMemberTypeAdditions in interface LayerServicemetadataIdentificationString - Id of calling metadata provider
(required)methodIdentifier - specifies the method which is being requested
(required)targetEntity - specifies the target entity (required)idType - specifies the ID type used by the target entity (required)layerPosition - the position of the layer invoking this methodmethodParameters - parameters passed in to the method (types and
names), if anyMemberTypeAdditions if a layer provider can offer this
functionality, null otherwisepublic MemberTypeAdditions getMemberTypeAdditions(String metadataIdentificationString, String methodIdentifier, org.springframework.roo.model.JavaType targetEntity, org.springframework.roo.model.JavaType idType, int layerPosition, boolean autowire, MethodParameter... methodParameters)
LayerServicegetMemberTypeAdditions in interface LayerServicemetadataIdentificationString - Id of calling metadata provider
(required)methodIdentifier - specifies the method which is being requested
(required)targetEntity - specifies the target entity (required)idType - specifies the ID type used by the target entity (required)layerPosition - the position of the layer invoking this methodmethodParameters - parameters passed in to the method (types and
names), if anyMemberTypeAdditions if a layer provider can offer this
functionality, null otherwiseprotected void unbindLayerProvider(LayerProvider provider)
Copyright © 2009–2018 Pivotal Software, Inc.. All rights reserved.