Tabnine Logo
Provides.getEndpointName
Code IndexAdd Tabnine to your IDE (free)

How to use
getEndpointName
method
in
org.ow2.petals.component.framework.jbidescriptor.generated.Provides

Best Java code snippets using org.ow2.petals.component.framework.jbidescriptor.generated.Provides.getEndpointName (Showing top 16 results out of 315)

origin: org.ow2.petals/petals-se-camel

public ServiceEndpointOperationProvides(final QName operation, final URI mep, final PetalsCamelSender sender,
    final Provides provides) {
  super(provides.getInterfaceName(), provides.getServiceName(), provides.getEndpointName(), operation, mep,
      sender);
}
origin: org.ow2.petals/petals-bc-sql

public void close(final Provides provides) {
  this.logger
      .fine(String.format("Close the JDBC DataSource for '%s/%s-%s'.", provides.getInterfaceName().toString(),
          provides.getServiceName().toString(), provides.getEndpointName()));
  try {
    ((BasicDataSource) this.dataSource).close();
    this.logger.fine(String.format("The JDBC DataSource for '%s/%s-%s' has been closed properly.",
        provides.getInterfaceName().toString(), provides.getServiceName().toString(),
        provides.getEndpointName()));
  } catch (final SQLException e) {
    this.logger.log(Level.WARNING,
        String.format("The JDBC DataSource for '%s/%s-%s' has not been closed properly.",
            provides.getInterfaceName().toString(), provides.getServiceName().toString(),
            provides.getEndpointName()),
        e);
  }
}
origin: org.ow2.petals/petals-se-jsr181

  @Override
  public Logger getComponentChildLogger() {

    StringBuilder sb = new StringBuilder( getLogger().getName());
    sb.append( "." + getProvides().getInterfaceName().getLocalPart());
    sb.append( "." + getProvides().getServiceName().getLocalPart());
    sb.append( "." + getProvides().getEndpointName());

    return Logger.getLogger( sb.toString());
  }
}
origin: org.ow2.petals/petals-bc-gateway

public static String toString(final Provides p) {
  final QName i = p.getInterfaceName();
  final QName s = p.getServiceName();
  final String e = p.getEndpointName();
  return i + "/" + s + "/" + e;
}
origin: org.ow2.petals/petals-bc-mail

@Override
protected void doUndeploy(final ServiceUnitDataHandler suDH) throws PEtALSCDKException {
  this.logger.fine("Start MailSuManager.doUndeploy(SU =" + suDH.getName() + ")");
  try {
    // Process section 'provides'
    for (final Provides provide : suDH.getDescriptor().getServices().getProvides()) {
      // Remove the mail operation in the map with the corresponding end-point
      this.getComponent().removeMailOperations(provide.getEndpointName());
    }
  } finally {
    this.logger.fine("End MailSuManager.doUndeploy()");
  }
}
origin: org.ow2.petals/petals-se-activiti

@Override
protected void doUndeploy(final ServiceUnitDataHandler suDH) throws PEtALSCDKException {
  this.logger.fine("Start ActivitiSuManager.doUndeploy(SU =" + suDH.getName() + ")");
  try {
    final String edptName = suDH.getDescriptor().getServices().getProvides().iterator().next()
        .getEndpointName();
    // Remove the ActivitiOperation in the map with the corresponding end-point
    getComponent().removeActivitiService(edptName);
    /**
     * // Get the operation Name of the end point ServiceUnitDataHandler suDataHandler
     * =this.getSUDataHandlerForEndpoint(serviceEndpoint); List<QName> operations =
     * suDataHandler.getEndpointOperationsList(serviceEndpoint);
     * 
     * for ( QName operation : operations) { eptAndOperation = new
     * EptAndOperation(edptName,operation.getLocalPart()); // Remove the ActivitiOperation in the map with the
     * corresponding end-point and Operation ((ActivitiSE)
     * this.component).removeActivitiOperation(eptAndOperation); logger.info("*** ept: "+
     * eptAndOperation.getEptName() + " operation : "+ eptAndOperation.getOperationName()); logger.info(
     * "          is removed from MAP eptOperationToActivitiOperation" ); }
     */
    // TODO Manage the undeployement of the process: be careful of multi SU deployement for the same process
  } finally {
    this.logger.fine("End ActivitiSuManager.doUndeploy()");
  }
}
origin: org.ow2.petals/petals-bc-mail

final String edptName = provide.getEndpointName();
final QName interfaceName = provide.getInterfaceName();
final QName serviceName = provide.getServiceName();
origin: org.ow2.petals/petals-bc-sql

this.logger.fine(String.format("The JDBC DataSource for '%s/%s-%s' has been created.",
    provides.getInterfaceName().toString(), provides.getServiceName().toString(),
    provides.getEndpointName()));
this.logger.fine(String.format("The SQL service for '%s/%s-%s' has been created.",
    provides.getInterfaceName().toString(), provides.getServiceName().toString(),
    provides.getEndpointName()));
origin: org.ow2.petals/petals-se-xslt

suDH.getInstallRoot(),
outputAttachmentName,
provides.getEndpointName(),
serviceUnitName, xslParamNameToXslParamBean);
origin: org.ow2.petals/petals-bc-rest

final String endpointName = provides.getEndpointName();
final QName interfaceName = provides.getInterfaceName();
final QName serviceName = provides.getServiceName();
origin: org.ow2.petals/petals-se-validation

@Override
protected void doDeploy(final ServiceUnitDataHandler suDH) throws PEtALSCDKException {
  final Jbi jbiDescriptor = suDH.getDescriptor();
  // Control that there is only one Provides section in the SU
  if (!jbiDescriptor.getServices().getConsumes().isEmpty())
    throw new PEtALSCDKException( "'Consumes' sections are not supported by this component." );
  final List<Provides> providesList = jbiDescriptor.getServices().getProvides();
  if( providesList.size() != 1 )
    throw new PEtALSCDKException( "Only one 'Provides' section is allowed by this component." );
  // Control that there is the required parameter
  final Provides provides = providesList.get(0);
  final SuConfigurationParameters extensions = suDH.getConfigurationExtensions(provides);
  final String schemaFileName = extensions.get(XSD_PATH);
  if( StringHelper.isNullOrEmpty( schemaFileName ))
    throw new PEtALSCDKException( "A configuration for this component must define the  '" + XSD_PATH + "' parameter.");
  // Create a configuration element
  final ValidationConfiguration config = new ValidationConfiguration(
      schemaFileName.trim(),
      suDH.getInstallRoot(),
      provides.getEndpointName(),
      suDH.getName() );
  // Create a handler and register these elements
  final ValidationConfigurationHandler handler = new ValidationConfigurationHandler(config);
  handler.start(this.logger);
  this.suNameToValidationConfigurationHandler.put(suDH.getName(), handler);
  getComponent().registerValidationConfigurationHandler(provides.getEndpointName(), handler);
}
origin: org.ow2.petals/petals-se-jsr181

final String edptName = provides.getEndpointName();
origin: org.ow2.petals/petals-se-camel

final Endpoint endpoint = service.getEndpoint(provides.getEndpointName());
if (endpoint == null) {
  throw new InvalidJBIConfigurationException(
      "Can't find the endpoint '" + provides.getEndpointName() + "' in the description");
      "No binding defined for the endpoint '" + provides.getEndpointName() + "' in the description");
if (interfaceType == null) {
  throw new InvalidJBIConfigurationException("No interface defined for the binding of ednpoint '"
      + provides.getEndpointName() + "' in the description");
  throw new InvalidJBIConfigurationException("The interface of the endpoint '" + provides.getEndpointName()
      + "' is invalid: '" + interfaceType.getQName() + "' instead of '" + interfaceType + "'");
origin: org.ow2.petals/petals-se-activiti

final String edptName = provides.getEndpointName();
final QName serviceName = provides.getServiceName();
for (final ActivitiOperation operation : operations) {
origin: org.ow2.petals/petals-bc-soap

  final Logger serviceLogger = getComponent().getContext().getLogger(provides.getEndpointName(), null);
  context.setLogger(serviceLogger);
} catch (MissingResourceException | JBIException e) {
  throw new PEtALSCDKException("Can't get logger for Provides " + provides.getEndpointName(), e);
origin: org.ow2.petals/petals-cdk-jbidescriptor

theEndpointName = this.getEndpointName();
strategy.appendField(locator, this, "endpointName", buffer, theEndpointName, (this.endpointName!= null));
org.ow2.petals.component.framework.jbidescriptor.generatedProvidesgetEndpointName

Javadoc

Obtient la valeur de la propriété endpointName.

Popular methods of Provides

  • getServiceName
    Obtient la valeur de la propriété serviceName.
  • getInterfaceName
    Obtient la valeur de la propriété interfaceName.
  • getAny
    Gets the value of the any property. This accessor method returns a reference to the live list, not a
  • getRetrypolicy
    Obtient la valeur de la propriété retrypolicy.
  • getWsdl
    NO HCI
  • <init>
  • append
  • appendFields
  • getExchangeProperties
    NO HCI
  • getMessageProperties
    NO HCI
  • getSuInterceptors
    NO HCI
  • getTimeout
    Obtient la valeur de la propriété timeout.
  • getSuInterceptors,
  • getTimeout,
  • getValidateWsdl,
  • isForwardAttachments,
  • isForwardMessageProperties,
  • isForwardSecuritySubject

Popular in Java

  • Making http requests using okhttp
  • getSupportFragmentManager (FragmentActivity)
  • notifyDataSetChanged (ArrayAdapter)
  • getApplicationContext (Context)
  • MalformedURLException (java.net)
    This exception is thrown when a program attempts to create an URL from an incorrect specification.
  • Timestamp (java.sql)
    A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
  • BasicDataSource (org.apache.commons.dbcp)
    Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
  • Top 12 Jupyter Notebook extensions
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now