Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Service Bus
11g Release 1 (11.1.1.4.0)

E15033-02


com.bea.wli.sb.util
Class Refs

java.lang.Object
  extended by com.bea.wli.sb.util.Refs


public class Refs
extends java.lang.Object

Field Summary
static java.lang.String ALERT_DESTINATION_TYPE
          Type Id for an Alert Destination
static java.lang.String ARCHIVE_TYPE
          type id for archived resources
static java.lang.String BUSINESS_SERVICE_TYPE
          Type Id for business services
static java.lang.String FLOW_TYPE
          Type ID for the FLOW Ref
static java.lang.String FOREIGN_JNDI_PROVIDER_TYPE
          Type Id for JNDI Providers
static java.lang.String JCA_TYPE
          Type ID for the JCA Ref
static java.lang.String MFL_TYPE
          Type Id for MFL resource
static java.lang.String MQ_CONNECTION_TYPE
          Type Id for MQ connection
static java.lang.String OPERATIONS_REF
          Type Id for an Operations configured for operator role
static java.lang.String PROXY_SERVER_TYPE
          Type Id for a Proxy Server
static java.lang.String PROXY_SERVICE_TYPE
          Type Id for proxy services
static java.util.Set<java.lang.String> PUBLIC_RESOURCE_TYPE_IDS
           
static java.lang.String SECURITY_POLICY_TYPE
          Type Id for security policy resource
static java.lang.String SERVICE_ACCOUNT_TYPE
          Type Id for service account resource
static java.lang.String SERVICE_KEY_PROVIDER_TYPE
           
static java.lang.String SERVICE_PROVIDER_TYPE
          Deprecated. in 3.0. Please use SERVICE_KEY_PROVIDER_TYPE. Deprecated API is removed in the subsequent major release.
static java.lang.String SMTP_SERVER_TYPE
          Type Id for an SMTP Server
static Ref SYSTEM_JNDI_PROVIDER_FOLDER
           
static Ref SYSTEM_OPERATOR_SETTINGS_FOLDER
           
static Ref SYSTEM_PROJECT_REF
           
static Ref SYSTEM_PROXY_SERVER_FOLDER
           
static Ref SYSTEM_SMTP_FOLDER
           
static Ref SYSTEM_UDDI_FOLDER
           
static java.lang.String UDDI_REGISTRY_TYPE
          Type Id for UDDI registry entries configured
static java.lang.String WSDL_TYPE
          Type Id for wsdl resource
static java.lang.String XML_TYPE
          Type ID for the XML Ref
static java.lang.String XMLSCHEMA_TYPE
          Type Id for xml schema resource
static java.lang.String XQUERY_TYPE
          Type Id for xquery resource
static java.lang.String XSLT_TYPE
          Type Id for XSLT resource

 

Constructor Summary
Refs()
           

 

Method Summary
static boolean isGlobalOperationalResource(Ref ref)
           
static boolean isUnderSystemProject(Ref ref)
          Checks if a a folder/resource is under System project
static Ref makeAlertDestinationRef(Ref parent, java.lang.String name)
          Constructs a reference to an AlertDestination
static Ref makeArchiveResourceRef(Ref parent, java.lang.String resourceName)
          Constructs a reference to an archive resource
static Ref makeBusinessSvcRef(Ref parent, java.lang.String serviceName)
          Constructs a reference to a business service component
static Ref makeCustomResourceRef(java.lang.String typeId, Ref parent, java.lang.String name)
          Constructs a reference to a custom resource
static Ref makeFlowRef(Ref parent, java.lang.String localName)
          Creates a new FLOW Ref object.
static Ref makeFlowRef(java.lang.String fullName)
          Creates a new FLOW Ref object.
static Ref makeJcaRef(Ref parent, java.lang.String jcaName)
          Constructs a reference to an JCA component
static Ref makeJcaRef(java.lang.String fullName)
          Constructs a reference to an JCA component
static Ref makeJNDIProviderRef(java.lang.String jndiProviderName)
          Factory method for creating a reference to a jndi provider
static Ref makeLocationRef(java.lang.String location)
           Factory method to create parent ref for the given location.
static Ref makeMflRef(Ref parent, java.lang.String mflName)
          Constructs a reference to an MFL component
static Ref makeMQConnectionRef(Ref parent, java.lang.String mqConnectionName)
          Factory method for creating a reference to a MQ connection resource
static Ref makeParentRef(java.lang.String fullName)
          Convenience method to create the parent ref for a given full name.
static Ref makeProxyRef(Ref parent, java.lang.String proxyName)
          Constructs a reference to a proxy service
static Ref makeProxyServerRef(java.lang.String name)
          Factory method for creating a reference to a proxy server
static Ref makeSecurityPolicyRef(Ref parent, java.lang.String policyName)
          Constructs a reference to a security policy component
static Ref makeServiceAccountRef(Ref parent, java.lang.String accountName)
          Constructs a reference to a service account component
static Ref makeServiceKeyProviderRef(Ref parent, java.lang.String providerName)
          Constructs a reference to a service key provider component.
static Ref makeServiceProviderRef(Ref parent, java.lang.String providerName)
          Deprecated. in 3.0. Please use makeServiceKeyProviderRef(com.bea.wli.config.Ref, String) . Deprecated API is removed in the subsequent major release.
static Ref makeSMTPServerRef(java.lang.String smtpServerName)
          Factory method for creating a reference to an smtp server
static Ref makeUDDIRegistryRef(java.lang.String registryLocalName)
          Factory method for creating a reference to a uddi registry entry
static Ref makeWsdlRef(Ref parent, java.lang.String wsdlName)
          Constructs a reference to a WSDL component
static Ref makeXmlRef(Ref parent, java.lang.String xmlName)
          Constructs a reference to an JCA component
static Ref makeXmlRef(java.lang.String fullName)
          Constructs a reference to an XML component
static Ref makeXmlSchemaRef(Ref parent, java.lang.String schemaName)
          Constructs a reference to an xml schema component
static Ref makeXqueryRef(Ref parent, java.lang.String xqueryName)
          Constructs a reference to an Xquery component
static Ref makeXsltRef(Ref parent, java.lang.String xsltName)
          Constructs a reference to an XSLT component

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

SYSTEM_PROJECT_REF

public static final Ref SYSTEM_PROJECT_REF

SYSTEM_UDDI_FOLDER

public static final Ref SYSTEM_UDDI_FOLDER

SYSTEM_SMTP_FOLDER

public static final Ref SYSTEM_SMTP_FOLDER

SYSTEM_PROXY_SERVER_FOLDER

public static final Ref SYSTEM_PROXY_SERVER_FOLDER

SYSTEM_JNDI_PROVIDER_FOLDER

public static final Ref SYSTEM_JNDI_PROVIDER_FOLDER

SYSTEM_OPERATOR_SETTINGS_FOLDER

public static final Ref SYSTEM_OPERATOR_SETTINGS_FOLDER

SECURITY_POLICY_TYPE

public static final java.lang.String SECURITY_POLICY_TYPE
Type Id for security policy resource
See Also:
Constant Field Values

PROXY_SERVICE_TYPE

public static final java.lang.String PROXY_SERVICE_TYPE
Type Id for proxy services
See Also:
Constant Field Values

BUSINESS_SERVICE_TYPE

public static final java.lang.String BUSINESS_SERVICE_TYPE
Type Id for business services
See Also:
Constant Field Values

SERVICE_PROVIDER_TYPE

public static final java.lang.String SERVICE_PROVIDER_TYPE
Deprecated. in 3.0. Please use SERVICE_KEY_PROVIDER_TYPE. Deprecated API is removed in the subsequent major release.
Type Id for service providers resource

SERVICE_KEY_PROVIDER_TYPE

public static final java.lang.String SERVICE_KEY_PROVIDER_TYPE

SERVICE_ACCOUNT_TYPE

public static final java.lang.String SERVICE_ACCOUNT_TYPE
Type Id for service account resource

XQUERY_TYPE

public static final java.lang.String XQUERY_TYPE
Type Id for xquery resource
See Also:
Constant Field Values

XMLSCHEMA_TYPE

public static final java.lang.String XMLSCHEMA_TYPE
Type Id for xml schema resource
See Also:
Constant Field Values

WSDL_TYPE

public static final java.lang.String WSDL_TYPE
Type Id for wsdl resource
See Also:
Constant Field Values

MFL_TYPE

public static final java.lang.String MFL_TYPE
Type Id for MFL resource
See Also:
Constant Field Values

XSLT_TYPE

public static final java.lang.String XSLT_TYPE
Type Id for XSLT resource
See Also:
Constant Field Values

ARCHIVE_TYPE

public static final java.lang.String ARCHIVE_TYPE
type id for archived resources
See Also:
Constant Field Values

UDDI_REGISTRY_TYPE

public static final java.lang.String UDDI_REGISTRY_TYPE
Type Id for UDDI registry entries configured
See Also:
Constant Field Values

FOREIGN_JNDI_PROVIDER_TYPE

public static final java.lang.String FOREIGN_JNDI_PROVIDER_TYPE
Type Id for JNDI Providers
See Also:
Constant Field Values

SMTP_SERVER_TYPE

public static final java.lang.String SMTP_SERVER_TYPE
Type Id for an SMTP Server
See Also:
Constant Field Values

PROXY_SERVER_TYPE

public static final java.lang.String PROXY_SERVER_TYPE
Type Id for a Proxy Server
See Also:
Constant Field Values

ALERT_DESTINATION_TYPE

public static final java.lang.String ALERT_DESTINATION_TYPE
Type Id for an Alert Destination
See Also:
Constant Field Values

OPERATIONS_REF

public static java.lang.String OPERATIONS_REF
Type Id for an Operations configured for operator role

MQ_CONNECTION_TYPE

public static final java.lang.String MQ_CONNECTION_TYPE
Type Id for MQ connection
See Also:
Constant Field Values

FLOW_TYPE

public static final java.lang.String FLOW_TYPE
Type ID for the FLOW Ref
See Also:
Constant Field Values

JCA_TYPE

public static final java.lang.String JCA_TYPE
Type ID for the JCA Ref
See Also:
Constant Field Values

XML_TYPE

public static final java.lang.String XML_TYPE
Type ID for the XML Ref
See Also:
Constant Field Values

PUBLIC_RESOURCE_TYPE_IDS

public static final java.util.Set<java.lang.String> PUBLIC_RESOURCE_TYPE_IDS

Constructor Detail

Refs

public Refs()

Method Detail

makeLocationRef

public static Ref makeLocationRef(java.lang.String location)
 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

public static Ref makeParentRef(java.lang.String fullName)
Convenience method to create the parent ref for a given full name.
Parameters:
fullName -
Returns:

makeUDDIRegistryRef

public static Ref makeUDDIRegistryRef(java.lang.String registryLocalName)
Factory method for creating a reference to a uddi registry entry
Parameters:
registryLocalName - registry local name
Returns:
a reference to UDDI Registry

makeJNDIProviderRef

public static Ref makeJNDIProviderRef(java.lang.String jndiProviderName)
Factory method for creating a reference to a jndi provider
Parameters:
jndiProviderName - jndi provider local name
Returns:
a reference to JNDI Provider

makeSMTPServerRef

public static Ref makeSMTPServerRef(java.lang.String smtpServerName)
Factory method for creating a reference to an smtp server
Parameters:
smtpServerName - smtp server local name
Returns:
a reference to SMTP server

makeProxyServerRef

public static Ref makeProxyServerRef(java.lang.String name)
Factory method for creating a reference to a proxy server
Parameters:
name - proxy server local name
Returns:
a reference to a proxy server

makeProxyRef

public static Ref makeProxyRef(Ref parent,
                               java.lang.String proxyName)
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

makeBusinessSvcRef

public static Ref makeBusinessSvcRef(Ref parent,
                                     java.lang.String serviceName)
Constructs a reference to a business service component
Parameters:
parent - the parent. This can be a folder or a project.
serviceName - name of the service
Returns:
a reference to a service

makeServiceProviderRef

public static Ref makeServiceProviderRef(Ref parent,
                                         java.lang.String providerName)
Deprecated. in 3.0. Please use makeServiceKeyProviderRef(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

public static Ref makeServiceKeyProviderRef(Ref parent,
                                            java.lang.String providerName)
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

public static Ref makeServiceAccountRef(Ref parent,
                                        java.lang.String accountName)
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

public static Ref makeSecurityPolicyRef(Ref parent,
                                        java.lang.String policyName)
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

public static Ref makeXqueryRef(Ref parent,
                                java.lang.String xqueryName)
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

public static Ref makeMflRef(Ref parent,
                             java.lang.String mflName)
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

makeXsltRef

public static Ref makeXsltRef(Ref parent,
                              java.lang.String xsltName)
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

public static Ref makeXmlSchemaRef(Ref parent,
                                   java.lang.String schemaName)
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

public static Ref makeWsdlRef(Ref parent,
                              java.lang.String wsdlName)
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

public static Ref makeArchiveResourceRef(Ref parent,
                                         java.lang.String resourceName)
Constructs a reference to an archive resource
Parameters:
parent - project or folder
resourceName - the name of the resource
Returns:
a reference to an archive resource

makeAlertDestinationRef

public static Ref makeAlertDestinationRef(Ref parent,
                                          java.lang.String name)
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

public static Ref makeMQConnectionRef(Ref parent,
                                      java.lang.String mqConnectionName)
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

public static Ref makeCustomResourceRef(java.lang.String typeId,
                                        Ref parent,
                                        java.lang.String name)
Constructs a reference to a custom resource
Parameters:
typeId - provider id
parent - the parent. This can be a folder or a project.
name - name of the custom resource
Returns:
a reference to a custom resource

makeFlowRef

public static Ref makeFlowRef(Ref parent,
                              java.lang.String localName)
Creates a new FLOW Ref object.
Parameters:
parent - The parent reference
localName - The resource local name
Returns:
The FLOW Ref object

makeFlowRef

public static Ref makeFlowRef(java.lang.String fullName)
Creates a new FLOW Ref object.
Parameters:
fullName - The resource full name
Returns:
The FLOW Ref object

makeJcaRef

public static Ref makeJcaRef(Ref parent,
                             java.lang.String jcaName)
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

public static Ref makeJcaRef(java.lang.String fullName)
Constructs a reference to an JCA component
Parameters:
fullName - The resource full name
Returns:
a reference to an JCA

makeXmlRef

public static Ref makeXmlRef(Ref parent,
                             java.lang.String xmlName)
Constructs a reference to an JCA 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

public static Ref makeXmlRef(java.lang.String fullName)
Constructs a reference to an XML component
Parameters:
fullName - The resource full name
Returns:
a reference to an XML

isUnderSystemProject

public static boolean isUnderSystemProject(Ref ref)
Checks if a a folder/resource is under System project
Parameters:
ref - folder or resource ref
Returns:

isGlobalOperationalResource

public static boolean isGlobalOperationalResource(Ref ref)

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Service Bus
11g Release 1 (11.1.1.4.0)

E15033-02


Copyright © 2008, 2010, Oracle. All rights reserved.