Home /Modules/java/NamingEvent.sleela

NamingEvent.sleela

lib/java/jdk-25/javax/naming/event/NamingEvent.sleela · 89 line(s) · sleela

<< lib/java/javax/naming/event/NamingEvent.sleela
   SLeeLa Java 28 source envelope.
   Definition: SLeeLa source declaration for the Java type javax.naming.event.NamingEvent.
   Java behavior is supplied through the SLeeLa Java conformance boundary. >>
#sleela 3.0
material;

class NamingEvent {
  < ---- Descriptive metadata (version 1.11 nested-friendly accessors) ---- >
  << Eleven catalogued attributes with getter/setter pairs, so a GUI, loader,
     or catalog can read and (where appropriate) override this record.
     Values are faithful to the subject's real origin where publicly known. >>
  String metaVersion = "1.0.0";
  int metaId = 6411;
  String metaAuthor = "Oracle / OpenJDK";
  String metaDate = "2026-10-16";
  String metaCopyright = "GPLv2 with Classpath Exception (OpenJDK)";
  String metaTrademark = "Java";
  String metaCorporation = "Oracle Corporation";
  < metaOrigin: National | <nation> | International | Galactic >
  String metaOrigin = "International";
  String metaBirthDate = "2026-09-29";
  < metaScienceRating: maturity/robustness on a 1..10 scale >
  int metaScienceRating = 9;
  < metaNationalSchedule: a real, citable instrument or "none" >
  String metaNationalSchedule = "OpenJDK (JDK 28 API)";

  String getMetaVersion() { return metaVersion; }
  void setMetaVersion(String v) { metaVersion = v; }
  int getMetaId() { return metaId; }
  void setMetaId(int v) { metaId = v; }
  String getAuthor() { return metaAuthor; }
  void setAuthor(String v) { metaAuthor = v; }
  String getDate() { return metaDate; }
  void setDate(String v) { metaDate = v; }
  String getCopyright() { return metaCopyright; }
  void setCopyright(String v) { metaCopyright = v; }
  String getTrademark() { return metaTrademark; }
  void setTrademark(String v) { metaTrademark = v; }
  String getCorporation() { return metaCorporation; }
  void setCorporation(String v) { metaCorporation = v; }
  String getOrigin() { return metaOrigin; }
  void setOrigin(String v) { metaOrigin = v; }
  String getBirthDate() { return metaBirthDate; }
  void setBirthDate(String v) { metaBirthDate = v; }
  int getScienceRating() { return metaScienceRating; }
  void setScienceRating(int v) { metaScienceRating = v; }
  String getNationalSchedule() { return metaNationalSchedule; }
  void setNationalSchedule(String v) { metaNationalSchedule = v; }
  String javaType = "javax.naming.event.NamingEvent";
  String typeName() { return javaType; }
  boolean available() { return javaType != ""; }
  String construct() { return "java.construct:" + javaType; }
  String invoke(String operation) { return "java.invoke:" + javaType + ":" + operation; }
  String invokeStatic(String operation) { return "java.static:" + javaType + ":" + operation; }

  < ---- BEGIN java declarations (generated by tools/jdk_api_declare.py) ---- >
  < constants and static fields (values reflected from the JDK) >
  static final int OBJECT_ADDED = 0;
  static final int OBJECT_REMOVED = 1;
  static final int OBJECT_RENAMED = 2;
  static final int OBJECT_CHANGED = 3;
  < public and protected instance fields >
  Any changeInfo;
  int type;
  Any oldBinding;
  Any newBinding;
  < ---- END java declarations ---- >

  < ---- BEGIN java signatures (generated by tools/jdk_api_signatures.py) ---- >
  << Exact Java signatures (from the JDK). A method body that is not yet
     SLeeLa logic throws: AbstractMethodError for an abstract method, else
     UnsupportedOperationException naming the Java signature. >>
  public void dispatch(javax.naming.event.NamingListener listener) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.naming.event.NamingEvent.dispatch(javax.naming.event.NamingListener)"); }
  public int getType() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.naming.event.NamingEvent.getType()"); }
  public javax.naming.event.EventContext getEventContext() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.naming.event.NamingEvent.getEventContext()"); }
  public javax.naming.Binding getOldBinding() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.naming.event.NamingEvent.getOldBinding()"); }
  public javax.naming.Binding getNewBinding() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.naming.event.NamingEvent.getNewBinding()"); }
  public java.lang.Object getChangeInfo() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.naming.event.NamingEvent.getChangeInfo()"); }
  < ---- END java signatures ---- >

  < ---- BEGIN java constructors (generated by tools/jdk_api_signatures.py) ---- >
  << Exact Java constructor signatures (from the JDK). Overload resolution binds a
     call by arity, then best type match. Each body throws
     UnsupportedOperationException until its SLeeLa logic is written. >>
  public NamingEvent(javax.naming.event.EventContext source, int type, javax.naming.Binding newBd, javax.naming.Binding oldBd, java.lang.Object changeInfo) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.naming.event.NamingEvent.<init>(javax.naming.event.EventContext, int, javax.naming.Binding, javax.naming.Binding, java.lang.Object)"); }
  < ---- END java constructors ---- >
}