Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Eclipse Web Tools Guide
Previous Page Home Next Page

Publishers

Identifier:
org.eclipse.wst.server.core.publishers

Since:
3.0

Description:
This extension point is used to provide a task that is run while publishing to a server. Provisional API: This class/interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.

Configuration Markup:

<!ELEMENT extension ( publisher+)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED>

  • point - a fully qualified identifier of the target extension point
  • id - an optional identifier of the extension instance
  • name - an optional name of the extension instance

<!ELEMENT publisher EMPTY>

<!ATTLIST publisher

id          CDATA #REQUIRED

typeIds     CDATA #REQUIRED

name        CDATA #REQUIRED

description CDATA #REQUIRED

class       CDATA #REQUIRED

order       CDATA #REQUIRED>

  • id - specifies a unique identifier for this extension point
  • typeIds - a comma separated list of server type ids that this task may apply to. Used for memory & performance reasons
  • name - a translatable name used to identify this publisher
  • description - a translatable description of this publisher
  • class - specifies the fully qualified name of the Java class that implements org.eclipse.wst.server.core.model.PublisherDelegate. Publish instances of this type will delegate to instances of this class.
  • order - an integer that specifies the order that the publisher is processed. if the value is less than 0 it will be processed before calling the server behaviour delegate's publishing methods, and may modify the workspace. if the value is more than 0, it will be called after the server behaviour delegate's publishing methods and may not modify the workspace

Examples:
The following is an example of a publisher extension point:




Copyright (c) 2008 IBM Corporation and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at https://www.eclipse.org/legal/epl-v10.html


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire