Package com.bea.wli.sb.util
Class Refs
java.lang.Object
com.bea.wli.sb.util.Refs
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringType Id for an Alert Destinationstatic final Stringtype id for archived resourcesstatic final StringType ID for the AVSC Refstatic final StringType Id for business servicesstatic final StringType Id for DVM resourestatic final StringType ID for the FLOW Refstatic final StringType Id for JNDI Providersstatic final StringType ID for the JAVASCRIPT Refstatic final StringType ID for the JCA Refstatic final StringType ID for the JSON Refstatic final StringType Id for MFL resourcestatic final StringType Id for MQ connectionstatic StringType Id for an Operations configured for operator rolestatic final StringType Id for pipeline template resourcestatic final StringType Id for pipeline (message flow) resourcestatic final StringType Id for a Proxy Serverstatic final StringType Id for proxy service resourcestatic final StringType Id for proxy service resourcestatic final StringType Id for security policy resourcestatic final StringType Id for service account resourcestatic final StringType Id for service key providerstatic final StringDeprecated.in 3.0.static final StringType Id for an SMTP Serverstatic final Refstatic final Refstatic final Refstatic final Refstatic final Refstatic final Refstatic final StringType ID for the ThrottlingPolicy Refstatic final StringType Id for UDDI registry entries configuredstatic final StringType ID for the WADL Refstatic final StringType Id for wsdl resourcestatic final StringType ID for the XML Refstatic final StringType Id for xml schema resourcestatic final StringType Id for xquery resourcestatic final StringType Id for Xref resourestatic final StringType Id for XSLT resource -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanstatic booleanisSystemResourceTypeId(String typeId) Returns true if the given type id is System Resource Typestatic booleanisUnderSystemProject(Ref ref) Checks if a a folder/resource is under System projectstatic RefmakeAlertDestinationRef(Ref parent, String name) Constructs a reference to an AlertDestinationstatic RefmakeArchiveResourceRef(Ref parent, String resourceName) Constructs a reference to an archive resourcestatic RefmakeBusinessSvcRef(Ref parent, String serviceName) Constructs a reference to a business service resourcestatic RefmakeBusinessSvcRef(String fullName) Constructs a reference to a business service resourcestatic RefmakeCustomResourceRef(String typeId, Ref parent, String name) Constructs a reference to a custom resourcestatic RefmakeDvmRef(Ref parent, String dvmName) Constructs a reference to an DVM componentstatic RefmakeFlowRef(Ref parent, String localName) Creates a new FLOW Ref object.static RefmakeFlowRef(String fullName) Creates a new FLOW Ref object.static RefmakeJavaScriptRef(Ref parent, String javascriptName) Constructs a reference to an JAVASCRIPT componentstatic RefmakeJavaScriptRef(String fullName) Constructs a reference to an JAVASCRIPT componentstatic RefmakeJcaRef(Ref parent, String jcaName) Constructs a reference to an JCA componentstatic RefmakeJcaRef(String fullName) Constructs a reference to an JCA componentstatic RefmakeJNDIProviderRef(String jndiProviderName) Factory method for creating a reference to a jndi providerstatic RefmakeLocationRef(String location) Factory method to create parent ref for the given location.static RefmakeMflRef(Ref parent, String mflName) Constructs a reference to an MFL componentstatic RefmakeMQConnectionRef(Ref parent, String mqConnectionName) Factory method for creating a reference to a MQ connection resourcestatic RefmakeParentRef(String fullName) Convenience method to create the parent ref for a given full name.static RefmakePipelineRef(Ref parent, String name) Constructs a reference to a pipeline resourcestatic RefmakePipelineRef(String fullName) Constructs a reference to a pipeline resourcestatic RefmakePipelineTemplateRef(Ref parent, String name) Constructs a reference to a pipeline template resourcestatic RefmakePipelineTemplateRef(String fullName) Constructs a reference to a pipeline resourcestatic RefmakeProxyRef(Ref parent, String proxyName) Constructs a reference to a proxy servicestatic RefmakeProxyRef(String fullName) Constructs a reference to a proxy servicestatic RefmakeProxyServerRef(String name) Factory method for creating a reference to a proxy serverstatic RefmakeSecurityPolicyRef(Ref parent, String policyName) Constructs a reference to a security policy componentstatic RefmakeServiceAccountRef(Ref parent, String accountName) Constructs a reference to a service account componentstatic RefmakeServiceKeyProviderRef(Ref parent, String providerName) Constructs a reference to a service key provider component.static RefmakeServiceProviderRef(Ref parent, String providerName) Deprecated.in 3.0.static RefmakeSMTPServerRef(String smtpServerName) Factory method for creating a reference to an smtp serverstatic RefmakeThrottlingGroupRef(Ref parent, String name) Constructs a reference to a ThrottlingGroup resourcestatic RefmakeThrottlingGroupRef(String fullName) Constructs a reference to a ThrottlingGroup resourcestatic RefmakeUDDIRegistryRef(String registryLocalName) Factory method for creating a reference to a uddi registry entrystatic RefmakeWadlRef(Ref parent, String name) Constructs a reference to a WADL resourcestatic RefmakeWadlRef(String fullName) Constructs a reference to a WADL resourcestatic RefmakeWsdlRef(Ref parent, String wsdlName) Constructs a reference to a WSDL componentstatic RefmakeXmlRef(Ref parent, String xmlName) Constructs a reference to an XML componentstatic RefmakeXmlRef(String fullName) Constructs a reference to an XML componentstatic RefmakeXmlSchemaRef(Ref parent, String schemaName) Constructs a reference to an xml schema componentstatic RefmakeXqueryRef(Ref parent, String xqueryName) Constructs a reference to an Xquery componentstatic RefmakeXrefRef(Ref parent, String xrefName) Constructs a reference to an XREF componentstatic RefmakeXsltRef(Ref parent, String xsltName) Constructs a reference to an XSLT component
-
Field Details
-
SYSTEM_PROJECT_REF
-
SYSTEM_UDDI_FOLDER
-
SYSTEM_SMTP_FOLDER
-
SYSTEM_PROXY_SERVER_FOLDER
-
SYSTEM_JNDI_PROVIDER_FOLDER
-
SYSTEM_OPERATOR_SETTINGS_FOLDER
-
PROXY_SERVICE_TYPE
Type Id for proxy service resource- See Also:
-
PROXY_TYPE
Type Id for proxy service resource- See Also:
-
BUSINESS_SERVICE_TYPE
Type Id for business services- See Also:
-
PIPELINE_TYPE
Type Id for pipeline (message flow) resource- See Also:
-
PIPELINE_TEMPLATE_TYPE
Type Id for pipeline template resource- See Also:
-
FLOW_TYPE
Type ID for the FLOW Ref- See Also:
-
SECURITY_POLICY_TYPE
Type Id for security policy resource- See Also:
-
SERVICE_KEY_PROVIDER_TYPE
Type Id for service key provider- See Also:
-
SERVICE_PROVIDER_TYPE
Deprecated.in 3.0. Please useSERVICE_KEY_PROVIDER_TYPE. Deprecated API is removed in the subsequent major release.Type Id for service providers resource- See Also:
-
SERVICE_ACCOUNT_TYPE
Type Id for service account resource- See Also:
-
XQUERY_TYPE
Type Id for xquery resource- See Also:
-
XMLSCHEMA_TYPE
Type Id for xml schema resource- See Also:
-
WSDL_TYPE
Type Id for wsdl resource- See Also:
-
MFL_TYPE
Type Id for MFL resource- See Also:
-
XSLT_TYPE
Type Id for XSLT resource- See Also:
-
DVM_TYPE
Type Id for DVM resoure- See Also:
-
XREF_TYPE
Type Id for Xref resoure- See Also:
-
ARCHIVE_TYPE
type id for archived resources- See Also:
-
UDDI_REGISTRY_TYPE
Type Id for UDDI registry entries configured- See Also:
-
FOREIGN_JNDI_PROVIDER_TYPE
Type Id for JNDI Providers- See Also:
-
SMTP_SERVER_TYPE
Type Id for an SMTP Server- See Also:
-
PROXY_SERVER_TYPE
Type Id for a Proxy Server- See Also:
-
ALERT_DESTINATION_TYPE
Type Id for an Alert Destination- See Also:
-
OPERATIONS_REF
Type Id for an Operations configured for operator role -
MQ_CONNECTION_TYPE
Type Id for MQ connection- See Also:
-
JCA_TYPE
Type ID for the JCA Ref- See Also:
-
XML_TYPE
Type ID for the XML Ref- See Also:
-
JSON_TYPE
Type ID for the JSON Ref- See Also:
-
AVRO_SCHEMA_TYPE
Type ID for the AVSC Ref- See Also:
-
JAVASCRIPT_TYPE
Type ID for the JAVASCRIPT Ref- See Also:
-
THROTTLING_GROUP_TYPE
Type ID for the ThrottlingPolicy Ref- See Also:
-
WADL_TYPE
Type ID for the WADL Ref- See Also:
-
PUBLIC_RESOURCE_TYPE_IDS
-
-
Constructor Details
-
Refs
public Refs()
-
-
Method Details
-
makeLocationRef
Factory method to create parent ref for the given location. For Eg: if location is project1/folder1/folder2 it creates Ref object for folder2.
- Parameters:
location-- Returns:
-
makeParentRef
Convenience method to create the parent ref for a given full name.- Parameters:
fullName-- Returns:
-
makeUDDIRegistryRef
Factory method for creating a reference to a uddi registry entry- Parameters:
registryLocalName- registry local name- Returns:
- a reference to UDDI Registry
-
makeJNDIProviderRef
Factory method for creating a reference to a jndi provider- Parameters:
jndiProviderName- jndi provider local name- Returns:
- a reference to JNDI Provider
-
makeSMTPServerRef
Factory method for creating a reference to an smtp server- Parameters:
smtpServerName- smtp server local name- Returns:
- a reference to SMTP server
-
makeProxyServerRef
Factory method for creating a reference to a proxy server- Parameters:
name- proxy server local name- Returns:
- a reference to a proxy server
-
makeProxyRef
Constructs a reference to a proxy service- Parameters:
parent- the parent. This can be a folder or a project.proxyName- name of the proxy service- Returns:
- a reference to a service
-
makeProxyRef
Constructs a reference to a proxy service- Parameters:
fullName- fullname of the proxy service- Returns:
- a reference to a service
-
makeBusinessSvcRef
Constructs a reference to a business service resource- Parameters:
parent- the parent. This can be a folder or a project.serviceName- name of the service- Returns:
- a reference to a service
-
makeBusinessSvcRef
Constructs a reference to a business service resource- Parameters:
fullName- fullname of the service- Returns:
- a reference to a service
-
makePipelineRef
Constructs a reference to a pipeline resource- Parameters:
parent- the parent. This can be a folder or a project.name- name of the pipeline resource- Returns:
- a reference to a pipeline resource
-
makePipelineRef
Constructs a reference to a pipeline resource- Parameters:
fullName- fullname of the pipeline resource- Returns:
- a reference to a pipeline resource
-
makePipelineTemplateRef
Constructs a reference to a pipeline template resource- Parameters:
parent- the parent. This can be a folder or a project.name- name of the pipeline resource- Returns:
- a reference to a pipeline resource
-
makePipelineTemplateRef
Constructs a reference to a pipeline resource- Parameters:
fullName- fullname of the pipeline resource- Returns:
- a reference to a pipeline resource
-
makeServiceProviderRef
Deprecated.in 3.0. Please usemakeServiceKeyProviderRef(com.bea.wli.config.Ref, String). Deprecated API is removed in the subsequent major release.Constructs a reference to a service provider component- Parameters:
parent- the parent. This can be a folder or a project.providerName- name of the service provider- Returns:
- a reference to a service provider
-
makeServiceKeyProviderRef
Constructs a reference to a service key provider component.- Parameters:
parent- the parent. This can be a folder or a project.providerName- name of the service provider- Returns:
- a reference to a service provider
-
makeServiceAccountRef
Constructs a reference to a service account component- Parameters:
parent- the parent. This can be a folder or a project.accountName- name of the service account- Returns:
- a reference to a service account
-
makeSecurityPolicyRef
Constructs a reference to a security policy component- Parameters:
parent- the parent. This can be a folder or a project.policyName- name of the security policy- Returns:
- a reference to a security policy
-
makeXqueryRef
Constructs a reference to an Xquery component- Parameters:
parent- the parent. This can be a folder or a project.xqueryName- name of the Xquery- Returns:
- a reference to an Xquery
-
makeMflRef
Constructs a reference to an MFL component- Parameters:
parent- the parent. This can be a folder or a project.mflName- name of the MFL- Returns:
- a reference to an MFL
-
makeDvmRef
Constructs a reference to an DVM component- Parameters:
parent- the parent. This can be a folder or a project.dvmName- name of the DVM- Returns:
- a reference to an DVM
-
makeXrefRef
Constructs a reference to an XREF component- Parameters:
parent- the parent. This can be a folder or a project.xrefName- name of the XREF- Returns:
- a reference to an XREF
-
makeXsltRef
Constructs a reference to an XSLT component- Parameters:
parent- the parent. This can be a folder or a project.xsltName- name of the XSLT- Returns:
- a reference to an XSLT
-
makeXmlSchemaRef
Constructs a reference to an xml schema component- Parameters:
parent- the parent. This can be a folder or a project.schemaName- name of the xml schema- Returns:
- a reference to an xml schema
-
makeWsdlRef
Constructs a reference to a WSDL component- Parameters:
parent- the parent. This can be a folder or a project.wsdlName- name of the WSDL- Returns:
- a reference to a WSDL component
-
makeArchiveResourceRef
Constructs a reference to an archive resource- Parameters:
parent- project or folderresourceName- the name of the resource- Returns:
- a reference to an archive resource
-
makeAlertDestinationRef
Constructs a reference to an AlertDestination- Parameters:
parent- the parent. This can be a folder or a project.name- name of the alert destination- Returns:
- a reference to a alert destination resource
-
makeMQConnectionRef
Factory method for creating a reference to a MQ connection resource- Parameters:
mqConnectionName- MQ connection local name- Returns:
- a reference to MQ connection resource
-
makeCustomResourceRef
Constructs a reference to a custom resource- Parameters:
typeId- provider idparent- the parent. This can be a folder or a project.name- name of the custom resource- Returns:
- a reference to a custom resource
-
makeFlowRef
Creates a new FLOW Ref object.- Parameters:
parent- The parent referencelocalName- The resource local name- Returns:
- The FLOW Ref object
-
makeFlowRef
Creates a new FLOW Ref object.- Parameters:
fullName- The resource full name- Returns:
- The FLOW Ref object
-
makeJcaRef
Constructs a reference to an JCA component- Parameters:
parent- the parent. This can be a folder or a project.jcaName- name of the JCA- Returns:
- a reference to an JCA
-
makeJcaRef
Constructs a reference to an JCA component- Parameters:
fullName- The resource full name- Returns:
- a reference to an JCA
-
makeXmlRef
Constructs a reference to an XML component- Parameters:
parent- the parent. This can be a folder or a project.xmlName- name of the XML- Returns:
- a reference to an XML
-
makeXmlRef
Constructs a reference to an XML component- Parameters:
fullName- The resource full name- Returns:
- a reference to an XML
-
makeJavaScriptRef
Constructs a reference to an JAVASCRIPT component- Parameters:
parent- the parent. This can be a folder or a project.javascriptName- name of the XML- Returns:
- a reference to an XML
-
makeJavaScriptRef
Constructs a reference to an JAVASCRIPT component- Parameters:
fullName- The resource full name- Returns:
- a reference to an JAVASCRIPT
-
makeThrottlingGroupRef
Constructs a reference to a ThrottlingGroup resource- Parameters:
parent- the parent. This can be a folder or a project.name- name of the policy- Returns:
- a reference to a ThrottlingGroup
-
makeThrottlingGroupRef
Constructs a reference to a ThrottlingGroup resource- Parameters:
fullName- The resource full name- Returns:
- a reference to a ThrottlingGroup
-
makeWadlRef
Constructs a reference to a WADL resource- Parameters:
parent- the parent. This can be a folder or a project.name- name of the policy- Returns:
- a reference to a ThrottlingGroup
-
makeWadlRef
Constructs a reference to a WADL resource- Parameters:
fullName- The resource full name- Returns:
- a reference to a ThrottlingGroup
-
isUnderSystemProject
Checks if a a folder/resource is under System project- Parameters:
ref- folder or resource ref- Returns:
-
isGlobalOperationalResource
-
isSystemResourceTypeId
Returns true if the given type id is System Resource Type- Parameters:
typeId- String- Returns:
- boolean
-